Unit Testing Assistance
- 2 minutes to read
Unit Test Runner is a powerful unit testing tool used for the following tasks:
- List all tests in the solution.
- Run and debug tests.
- Analyze the test results.
- Analyze the test execution output.
- Analyze the code coverage.
- Run and debug JavaScript tests.
Unit Test Runner supports the following testing frameworks:
- NUnit
- xUnit
- Machine.Specifications.
- Microsoft Test Framework.
- .NET Core tests on the listed frameworks.
- JavaScript frameworks: Jasmine, QUnit, Mocha.
Refer to the Testing Framework Configuration article for details on how to set up the testing framework.
The Unit Test Runner automatically recognizes the tests and creates a tests tree in the Test Runner window if your solution contains tests and the appropriate framework is referenced.
NOTE
You can run MS Test unit tests using Test Runner in Visual Studio 2019 RC.
You can use the test Test Runner window to run tests, debug them, and analyze their results. The Test Runner window supports sessions.Refer to the Running and Debugging Tests article for information on how to run and debug tests.
NOTE
CodeRush TestRunner supports running tests under SciTech Software’s .NET Memory Profiler. This third-party product allows you to use the Run Under Memory Profiler toolbar button () to run tests designed to identify memory leaks and other memory usage issues.