Test Explorer Window In Visual Studio 2012
Sunday, 21st October 2012
The test explorer window in Visual Studio 2012 is a feature that we have wanted for a long time and despite some minor teething issues (the first version didn't allow grouping / running by test category) it is actually very cool.
So here is a feature you might not have noticed.
There is a little search bar next to the "Run on build" and "Grouping" icons that you can use to filter the results. For example, if I type in "Authenticate" it just shows me test methods containing the word "Authenticate". This is the obvious use of the search box - but it is much smarter.
For example, if you want to view all the tests in your "SpecialProject.Integration.Tests" project, you can use the following in the search box to get those tests:
There are other smart filters too:
So you can use these to filter your test explorer window to your heart's content.