Tuesday, June 19, 2012

Visual Studio 2012 RC - Test Explorer


Test Explorer allows you to view all the tests in the test project. It also classifies the tests based on the test results. The time taken to execute the test can also be seen in the Test Explorer. We can also search the tests by Test Result, Test File Path and Fully Qualified Name.
To open Test Explorer, click on Test->Windows->Test Explorer
Until we build the test project, no tests are visible in Test Explorer















Once we build the test project, all test appear in "Not Run Tests"














Once we run the testsusing Run, Run All or Run Selected, the execution time for each test can be seen and the tests are classified based on the test results















If we add new tests and build the test project, the new tests appear in "Not Run Tests"















We can search the tests by Test Result, Test File Path and Fully Qualified Name














No comments:

Post a Comment