NUnitとPartCoverを使用してチームシティのカバレッジを生成することはできません
-
21-12-2019 - |
質問
私はTeamCityバージョン8.0.4を使用しています。
カバレッジツールとしてNUnitランナーとパルタカバーを使用するビルドステップを持っています。
ここで概説されている手順( 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)
.
誰かが私が間違っていることを知っていますか?
解決
PartCoverの接続解除し、それを再インストールして、今では機能しているようです。問題は、安定したリリースの代わりにBetaバージョンのPartCoverを使用していたということがありました。
所属していません StackOverflow