You can repeat a test session or individual tests without leaving the Run tool window. The tests are performed again using the same run configuration as in the initial run.
Rerun a testing session
Press N/A or click the Rerun button on the toolbar of Test Runner tab.
Rerun an individual test
In the Test Runner tab, right-click a test case node or a test and select .
Rerun failed tests
In the Test Runner tab, click the Rerun Failed Tests button on the toolbar.
Debug failed tests
Place a breakpoint in the failed test function.
In the Test Runner tab, press Shift and click the Rerun Failed Tests button .
Select Debug from the Restart Failed Tests popup.
The tests that have failed will be rerun in the debug mode.