Why would a new Unit Test project not be included when we run all tests in solution?
We recently separated some code into its own assembly and consequently moved the related unit tests into their own test assembly. Now开发者_开发技巧 none of those tests run, they don't show up in the tests lists and if you select one test and run all tests in current context it just starts running all the other unit tests as if you're not in a unit test method.
Where should I start looking for solutions?
We're running VS2010 Premium & it's a .NET 4.0 assembly using MS Unit Tests.
Visual Studio looks at special attributes in the project file to determine whether it should inspect the Types in that assembly for tests.
Check here on how to manually create your MSTest project.
精彩评论