簡體   English   中英

TeamCity 的 PartCover

[英]PartCover with TeamCity

我正在嘗試使用 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)

但是包含模式是[*]*

如果重要的話,我正在運行 TeamCity 6.5.3。 有人設法在該版本上運行 partcover 嗎?

1) PartCover 僅支持 32 位進程,因此您需要確保您的測試運行程序也在運行 32 位。

2) 確保使用 regsvr32 注冊 PartCover dll(如果使用服務帳戶運行團隊城市,則不能使用按用戶注冊)。

通常,此消息意味着 TeamCity 未能找到任何覆蓋的線路。 這可能是由程序集或覆蓋參數引起的。

請隨時在http://youtrack.jetbrains.net上創建一個問題,其中包含您從本地測試運行中獲得的部分報告。 也請包括 partcover 的版本號。

TeamCity 6.5.3 必須支持 partcover 4.0.11129

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM