Test run errors with MSTest in VS2010

前端 未结 2 2142
终归单人心
终归单人心 2020-12-15 10:41

When I run my Unit Tests, all tests pass, but instead of \"Test run succeeded\" or whatever the success message is, I get \"Test run error\" in the little bar that tells me

2条回答
  •  感情败类
    2020-12-15 10:51

    First of all - you have Code Coverage enabled. You can read here about it. So there is no problems with Unit Tests. This is code coverage problem.

    Second thing - this warning is ok - never mind about it.

    Third thing - this error - this is the key problem.

    There can be different problems - most common is that you should refference more assemblies. To find out what exactly should be loaded you must go to Event Viewer and look at at Windows Logs->Application

提交回复
热议问题