MSTest: No tests are run because no tests are loaded or the selected tests are disabled

前端 未结 18 1663
不知归路
不知归路 2020-12-24 11:55

I have a c# solution with the following structure:

mySolution
  myProject
  myProject.MSTests
    References
      Microsoft.VisualStudio.QualityTools.UnitTe         


        
18条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 12:22

    When you run into this issue, in Visual Studio, you have to create a Test Project. 1. Select Test in Tool bar and choose "New Test". Create your project and at this point create your test method. It should work after this point.

提交回复
热议问题