Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Collapse]CodeRush
  System Requirements
 [Expand]Features by Language
 [Expand]Getting Started
 [Expand]Coding Assistance
 [Expand]Navigation and Search Tools
 [Expand]Static Code Analysis
  Visualization Tools
 [Expand]Code Style Assistance
  Building Assistance
  Debugging Assistance
 [Expand]Refactoring Assistance
 [Collapse]Unit Testing Assistance
   Testing Framework Configuration
   Running and Debugging Tests
   Test Execution Output
   Working with Test Sessions
   Code Coverage Calculation
   JavaScript Test Runner
 [Expand]Decompiling Tools
 [Expand]Configuration Options
 [Expand]Extensibility
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Unit Testing Assistance

CodeRush provides a powerful unit testing tool, called Unit Test Runner. You can use it for the following tasks:

Unit Test Runner supports the following testing frameworks:

  • NUnit (including .NET Core tests).
  • xUnit (including CoreCLR test cases in the DNX environment and .NET Core tests).
  • MSpec.
  • MSTest (including .NET Core tests).
  • JavaScript frameworks: Jasmine, QUnit, Mocha.

To learn how to set the testing framework up, refer to the Testing Framework Configuration article.

If your solution contains tests and the appropriate framework is referenced, the Unit Test Runner recognizes the tests and creates a tests tree in the Test Runner window, which enables you to easily navigate through tests.

Using the test Test Runner window, you can run tests, debug them, and analyze their results. The Test Runner window supports sessions. For details on how to run and debug tests, refer to the Running and Debugging Tests article.

How would you rate this topic?​​​​​​​