我正在使用TeamCity 8.0.4版。
我有一个使用NUnit跑步者和PartCover作为覆盖工具的构建步骤。
我已按照此处列出的步骤(http://www.jeremyskinner.co.uk/2010/07/23/using-teamcity-with-partcover-4/)。也就是说,我复制了PartCover.dll并适当地重命名了它并使用了博客中链接的XSLT。
“包含装配”字段仅包含:
[*]*
“排除装配”字段仅包含:
[*.Tests]*
正确执行测试后,我的构建日志会收到以下消息:
No executable code was detected.
The issue could be caused by one of the following:
- Include / exclude patterns are incorrect
- Assemblies are compiled without debugging information
- .pdb files are not available
- Visual Studio code coverage is enabled for MSTest
- .testrunconfig is used for MSTest and Visual Studio code coverage is not disabled (CodeCoverage section with enable="true" is present)
有谁知道我做错了什么?
答案 0 :(得分:2)
我卸载了PartCover并重新安装它,现在它似乎正在运行。我认为问题在于我使用的是PartCover的测试版而不是稳定版。