Sly*_*Sly 1 .net teamcity code-coverage partcover teamcity-6
我正在尝试使用TeamCity在x64机器上为.net 4设置partcover.
测试已执行,但覆盖率报告显示0覆盖范围.
我在日志中收到以下消息:
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)
Run Code Online (Sandbox Code Playgroud)
但包含模式是[*]*.
如果重要的话,我正在运行TeamCity 6.5.3.有没有人设法在该版本上运行partcover?
1)PartCover仅支持32位进程,因此您需要确保您的测试运行器也运行32位.
2)确保使用regsvr32注册PartCover dll(如果使用服务帐户运行团队城市,则不能使用每用户注册).
| 归档时间: |
|
| 查看次数: |
893 次 |
| 最近记录: |