Search code examples
unit-testingprofilingvisual-studio-2012

How to profile unit tests in Visual Studio 2012?


Is it possible to profile MSTest unit tests in Visual Studio 2012 Ultimate without using any external profiling tools?


Solution

  • This feature was added back in the upcoming Visual Studio 2012 Quarterly Update 1. Right-click the test you want to profile in the Test Explorer and select "Profile Test" from the context menu.