Songhay Studio: It’s No Longer about MSTEST.EXE; it’s vstest.console.exe…
Yes, I feel like I’m the only one in the world (outside of Redmond) using the default testing tools shipping with Visual Studio. So it should be no surprise to not even notice that MSTEST.EXE is no longer recommended—this is the new deal:
"%ProgramFiles(x86)%\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"
Also there is an “enable code coverage” option I have not tried out yet:
Related Links
“For example, for ordered tests, the test container is the | |
“You can use the | |
“New Unit Test functionality in VS2012 Update 2: Test Playlist” |
Do not confuse a “playlist” with an “ordered test”—it feels like “playlist” tests must be ‘true’ unit tests (no dependencies on other tests). |
“Traits are not only useful as a grouping mechanism in the Test Explorer, it also part of what can control which tests you run. This has been a big request—because it means the developer can focus on the tests relevant to the work, and not be bothered with running other, perhaps long-running tests, which would otherwise slow down the whole development experience.” | |
“How To Unit Test Async Methods with MSTest, XUnit and VS11 Beta” |
“ |
“Essentially it seemed far too easy to create a test that worked fine on the local developer’s machine and failed either on the CI server or in someone else’s development environment. In fact 25% of our unit test related build breaks were caused by this issue and some of them took a while to track down!” |