How to: 解决 No tests were run

在VS的Unit Test中遇到“No tests were run because no tests are loaded or the selected tests are disabled.”提示信息。同时,Test View和Test List Editor中无法加载任何Test。解决方案是:删掉 [TestClass()]和[TestMethod()],编译,重新加上这些Attributes后再编译。


See Also
MS Test Re-Enabling Ignored Tests

How to: Disable and Enable Tests

posted @ 2010-03-09 10:12  ST@N  阅读(2017)  评论(0编辑  收藏  举报