-
Notifications
You must be signed in to change notification settings - Fork 676
How to run and debug unit tests
Gregg Miskelly edited this page Sep 25, 2017
·
5 revisions
The C# extension currently supports running and debugging a unit test via CodeLens annotations on test methods. Just click the links:
- Because
dotnet test
will run the test code in a child process, it isn't possible to just configure a "unit test debugging" configuration in launch.json - There currently isn't a VS Code command to run the current test, though there is an issue for this in the backlog.
Configuration
- Configuring Snap installs of dotnet-sdk
- Configuring Arch Linux for Unity development
- Configuring Arch Linux for Razor development
- Installing the .NET Core Debugger on Arch Linux
Debugger
- Overview
- launch.json Help
- Feature List
- Enable Logging
- Portable PDBs
- Troubleshoot Breakpoints
- Attaching to remote processes
- Remote Debugging On Linux-Arm
- Windows Subsystem for Linux
- Diagnosting 'Debug adapter process has terminated unexpectedly'
- Testing libicu compatibility on Linux
- Debugging into the .NET Runtime itself
- Debugging x64 processes on an arm64 computer
Documentation
- Change Log
- Branches and Releases
- Installing Beta Releases
- Installing without internet connectivity
- Linux Support
- Run/Debug Unit Tests
- Troubleshooting: 'The .NET Core SDK cannot be located.' errors
Developer Guide