[英]NCrunch “no tests are queued for execution”
In Visual Studio 2015 Community Edition Update 3 and with NCrunch 2.15.0.9, my MSTest unit tests do compile (I can run them in MSTest), but NCrunch shows them as 在Visual Studio 2015社区版Update 3和NCrunch 2.15.0.9中,我的MSTest单元测试进行编译(我可以在MSTest中运行它们),但NCrunch将它们显示为
No tests are queued for execution.
没有测试排队等待执行。 Monitoring 2 tests, with no tests ignored
监控2个测试,没有忽略测试
The status of those tests is 这些测试的状态是
Running (First time run), Prioritized
正在运行(首次运行),优先
If they are really running, they never complete. 如果它们真的在运行,它们永远不会完成。 Running them in MSTest only takes milliseconds.
在MSTest中运行它们只需要几毫秒。
The C# class library is still a very simple project, almost HelloWorld complexity. C#类库仍然是一个非常简单的项目,几乎是HelloWorld的复杂性。 It does not have any strange dependencies.
它没有任何奇怪的依赖。 It is not signed and it does not have pre- or post-build-steps.
它没有签名,也没有构建前或构建后的步骤。
I have set my NCrunch configuration with the wizard 我已经使用向导设置了NCrunch配置
The tests don't run even if I manually trigger it. 即使我手动触发它,测试也不会运行。
There is no content in the NCrunch Diagnostic Output window. NCrunch诊断输出窗口中没有内容。
Not sure if it's relevant, but I have other plugins installed: 不确定它是否相关,但我安装了其他插件:
Limitations: I can't upgrade NCrunch, since my license expired. 限制:由于我的许可证已过期,因此无法升级NCrunch。
I have tried: 我努力了:
The latest Visual Studio Update 3 makes .NET 4.6.1 the default .NET Framework for new projects. 最新的Visual Studio Update 3使.NET 4.6.1成为新项目的默认.NET Framework。
Switching both projects (the DLL and the unit tests) back to the slightly older .NET 4.5.2 and then hitting the "Resynchronize, rebuild and rerun" button fixed the problem. 将两个项目(DLL和单元测试)切换回略微较旧的.NET 4.5.2,然后点击“重新同步,重建并重新运行”按钮修复了问题。
This may be fixed in newer versions 2.20 of NCrunch , but my NCrunch license does even not support .NET 4.6. 这可以在NCrunch的新版本2.20中修复 ,但我的NCrunch许可证甚至不支持.NET 4.6。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.