Running unit tests after local build with Visual Studio 2010

前端 未结 6 1903
北荒
北荒 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条回答
  •  没有蜡笔的小新
    2021-01-11 20:35

    for anyone still reading this, use this visual studio extension:

    http://visualstudiogallery.msdn.microsoft.com/c074d3c6-71e2-4628-9e7c-7690e706aef4

    It does exactly what you want, i.e. run your tests after a local build. Failed tests will show up as a build error in your error window...

    Why is this not out-of-the-box functionality @Microsoft? :)

提交回复
热议问题