Running unit tests after local build with Visual Studio 2010

前端 未结 6 1919
北荒
北荒 2021-01-11 20:08

Using Visual Studio 2010, is there a way to run all unit tests in a solution automatically after building the solution locally?

6条回答
  •  猫巷女王i
    2021-01-11 20:27

    This page describes running automated tests from the command line:

    http://msdn.microsoft.com/en-us/library/ms182486.aspx

    MSTest.exe is the program you need, but there's much more info on the MS web site.

提交回复
热议问题