无法运行MSTest单元测试;当我尝试这样做时,什么也没发生

时间:2019-07-17 18:16:17

标签: visual-studio unit-testing mstest visual-studio-2019

我在“输出”窗口中看到了这些消息(略作编辑):

[7/17/2019 2:10:39 PM Informational] ------ Run test started ------
[7/17/2019 2:10:40 PM Warning] Could not find file C:\Users\*****\source\repos\PlatformV2\Src\Web.Tests\bin\Debug\*********.Tests.dll.
[7/17/2019 2:10:40 PM Warning] None of the specified source(s) 'C:\Users\*****\source\repos\PlatformV2\Src\Web.Tests\bin\Debug\*********.Tests.dll' is valid. Fix the above errors/warnings and then try again. 

我不确定为什么将这个项目称为Web.Tests,但是正在搜索的DLL是我正在处理的产品的名称(在此以星号表示)...这可能是问题吗?

在测试资源管理器中,每个测试旁边的蓝色“测试未运行”图标也会变成时钟,就像测试即将运行一样,但是它们只是变回原来的颜色,而不是变为绿色/红色通过/失败图标...

0 个答案:

没有答案
相关问题