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

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

I have a c# solution with the following structure:

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


        
18条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 12:07

    For posterity: I just found that marking tests as static made them silently fail to appear in the test list. Apparently that isn't allowed.

提交回复
热议问题