Why does DotCover inspect assembly but find no lines covered?

In the attached DotCover report, TeamCity+DotCover show 0% coverage for the "ceo" assembly, but I am 100% positive that the project builds and passes tests that exercise code in the "ceo" assembly. Any idea what could make DotCover unable to detect coverage in this assembly when it does detect coverage in other assemblies, all with the same configuration and framework version?



Attachment(s):
dotCover7094734687847167656Report.zip
5 comments
Comment actions Permalink

Hi

In upcoming dotCover version 1.1 we improved logging for such kind of issues.
Could you test it with EAP build and show a build log.

Thanks
Michael

0
Comment actions Permalink

Downloading the dotCover EAP now. Not sure how to point TeamCity at the new version nor what command-line parameters are required to get this improved build log, as I have only used the dotCover bundled with TeamCity, but I will give it a try.

0
Comment actions Permalink

Here is the build log, but the build failed with a " 2011-04-05 15:56:32,008 [1428] ERROR JetBrains.BuildServer.NAntLoggers.NUnit2LoggingTask.NUnit2TaskEx - NUnit launcher returns invalid exit code" message on the project for which dotCover produces no coverage. So I guess we have located the problem, but I cannot explain what dotCover has a problem with. Is it possible that I am simply using the wrong command line for Path to dotCover home? I tried both the path to the executable ("C:\Program Files (x86)\JetBrains\dotCover\v1.1\Bin\dotCover.exe") and the path to the Bin directory ("C:\Program Files (x86)\JetBrains\dotCover\v1.1\Bin\"), but both yielded the same results. An example would help in the TeamCity UI.

Thanks for your help so far.

Added question about Path to DotCover home.



Attachment(s):
CEO_Trunk_Executables_235_2.0.3.1992.log.zip
0
Comment actions Permalink

Does the failed build log show that I misconfigured dotTrace? If I leave the path blank and use the bundled dotCover, the build succeeds but simply does not show any coverage for the "ceo" assembly.

0
Comment actions Permalink

Hello? Any docs on how to get these EAP builds of dotCover to run TeamCity?

0

Please sign in to leave a comment.