After test execution is finished, CodeRush updates the test status within the code editor and in the Test Runner window. A test can have one of the following statuses:
Test is ready to run.
Test is waiting to run.
Explicit test (is not executed by the Run All button).
Test has passed.
Test has failed.
Test was ignored.
You can right-click a test to navigate to its code.
To obtain detailed information on a failed test, use one of the following ways:
The Unit Test Runner also displays the output information in different tabs of the Test Runner window.
The table below shows what methods are associated with each tab. Once a method from the list below is executed, the text passed to the method as an argument appears in the corresponding tab.
The Test Runner window allows you to group tests by:
To see Not Run, Passed, Failed, Ignored or Explicit tests, toggle the corresponding toolbar in the Test Runner window.
The Run All command takes filtering into account. This command runs all tests shown in the tests tree when the Test Runner applied filtering.
If you are looking for a particular test, enter a part of the test method name in the Search field.
Test Runner can export test execution results to XML.
The test results data contains the following info:
If you want to include test's XML documentation comments in the report: