Unit Testing support is also targeted in this release. There is a new Test Explorer that gives you a nice overview of all your unit tests and the current state they are in. It groups your tests on failed/succeeded and it immediately shows the details of the selected test. And of course the Test Explorer supports search!
Another important feature is the ability to run your unit tests automatically after each build.This really helps you getting into the Test Driven Deveopment mode (see this blog most for more details: TDDing in Visual Studio 2012).
The Test Explorer now easily integrates with other unit testing frameworks. You can install frameworks like NUnit, xUnit or QUnit and the test explorer will automatically pick up your tests.
Running Code Coverage for your Unit Tests also became much easier. Just right click the test you want to execute and select ‘Analyze Code Coverage for Selected Tests’.
Remember, when using the Unit Test features in Visual Studio 2012: your shortcut of the day: Ctrl + R, A. to run all the tests.
What are your favorite Visual Studio 2012 features? Or is there a feature you want to know more about? Please leave a comment!
Wouter de Kort works as a lead architect and consultant. He helps organizations stay on the cutting edge of software development. Wouter focuses on DevOps. He loves solving complex problems and helping other developers to grow. Wouter authored the book DevOps on the Microsoft stack and a couple of other books. Wouter is a Microsoft MVP and an ALM Ranger. You can find him on Twitter (@wouterdekort), on his blog at wouterdekort.com and at the various conferences where Wouter speaks.