NUnitとPartCoverを使用してチームシティのカバレッジを生成することはできません

StackOverflow https://stackoverflow.com//questions/20041630

  •  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を使用していたということがありました。

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top