Visual Studio 2013 doesn't discover unit tests

前端 未结 30 2238
余生分开走
余生分开走 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:50

    I had the exact same problem.

    It was due to incompatible version of NUnit I'd added to my project (3.2.0) and the Test Adapter I had installed (2.0.0).

    To fix, use "Tools > Extensions and Updates" and search for NUnit3 Test Adapter, it discovered my tests after that.

    Cheers

提交回复
热议问题