Visual Studio Test Explorer

The Test Explorer in Visual Studio discovers and runs tests, including Test Studio Dev tests and test lists.

View Tests and Test Lists in Test Explorer

To open Test Explorer in Visual Studio, choose Test -> Windows -> Test Explorer

Test tab

Once the project is built, Test Explorer lists the Test Studio Dev tests and test lists within the currently opened solution with their execution status in the Test Explorer. Thus a test, executed with the Quick Execution Test Runner, will still remain Not Run in the Test Explorer, until a run is triggered from it.

Test Explorer

Note! Ensure the project is re-built before initiating a run from the VS Test Explorer. Any recent changes will not be reflected otherwise.

Group Tests and Test Lists in Test Explorer

Test Explorer provides few different options to group the listed files. What makes sense in the context of Test Studio Dev tests is to use custom grouping starting with either Namespace or Project, and then use as sub-filters Class and State in the desired order.

Group Tests and Test lists

Run Tests and Test Lists in Test Explorer

To execute the test files in Test Explorer, use the Run... buttons and their different options.

Note! Ensure the project is re-built before initiating a run from the VS Test Explorer. Any recent changes will not be reflected otherwise.

Run Tests and Test lists

Note! When executing test files from Test Explorer Test Studio Dev project settings are not applied.

To use the default Test Studio settings, or modify these as per the current requirements, a project settings file need to be added and applied for the test execution from Test Explorer.

Test list files are using their own settings when executed from Test Explorer.

In this article
Not finding the help you need? Improve this article