partcover for .net 4をx64マシンwith TeamCityにセットアップしようとしています。PartCover with TeamCity
テストは実行されますが、カバレッジレポートは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)
をしかし含めるパターンが[*]*
です:
私は、ログに次のメッセージを取得しています。
TeamCity 6.5.3が重要な場合は実行しています。誰かがそのバージョンでpartcoverを実行することができましたか?
PartCoverの最新バージョンを使用するようにJetBrainsをアップグレードしたとは思いません(2.2および2.3は.NET2のみの古いバージョンです)。組み込み統合を使用するのではなく、PartCoverを直接実行してみてください。 execタスク。 –
PartCoverと統合しようとするのではなく、Jetbrains DotCoverを使用すると、十分に正確なカバレッジレポートを取得できることがわかります。私たちはこのプロジェクトでこれを使用しており、セットアップするのは苦労しました。 [Teamcity Dotcover](http://blogs.jetbrains.com/dotnet/2010/12/jetbrains-teamcity-6-is-released-bundles-dotcover/) –