Visual Studio 2013 doesn't discover unit tests

前端 未结 30 2177
余生分开走
余生分开走 2020-11-28 21:46

I have a simple solution in visual studio 2013 that is composed by one web project, one library project and one unit test project. When I open the solution and try to run th

30条回答
  •  隐瞒了意图╮
    2020-11-28 22:48

    Just ran into this as well as I didn't see a similar case that was similar to mine.

    In the .csproj file of my test project, NUnit reference privacy was set to False:

    
      ..\packages\NUnit.2.6.4\lib\nunit.framework.dll
      False
    
    

    After I set to True it worked.

提交回复
热议问题