Tests magically disappeared from Test Explorer pane in Visual Studio 2013

前端 未结 5 1275
后悔当初
后悔当初 2021-01-02 02:00

I have created a unit test project in VS2013, and I\'m using it to create a test suite for my SQL Server 2012 database.

I have created 4 test classes so far and ever

5条回答
  •  -上瘾入骨i
    2021-01-02 02:27

    Are you using nUnit? I've just had a similar situation moving to a new pc, causing all existing tests to disappear.

    Go to Tools -> Extensions and updates -> Select Online on the left -> enter in the search box top right 'nunit test adapter' and install it.

    One rebuild later and the tests appeared again.

提交回复
热议问题