我正在使用VS 2017与.NET标准类库中的新csproj,尝试使用带有dotnet test
命令的MSTest测试框架,使用.NET Core 1.1测试项目来测试库。在当地跑步完美无缺;当我将构建发送到持续集成时,我收到错误:
No test discoverer is registered to perform discovery of test cases.
如何在VSTS中注册此发现者并运行我的测试?
答案 0 :(得分:5)
这是我在VSTS(detailed on my blog here)
上的构建过程答案 1 :(得分:0)
请参阅以下步骤: