DotCover TeamCity bundle coverage with nunit

Hi,

Having trouble getting the bundled version of dotcover to run on an nunit build step in TeamCity.
Currently have a build configuration that builds that solution and creates various artifacts which include dlls for nunit to test.
The unit test are ran in a separate build configuration using the nunit runner. The tests run fine, however if I add coverage using dotcover the build step will hang and not produce any error in the build log.

Has anyone else had any similar issues with this?

1 comment
Comment actions Permalink

Hi Luke,

Which version of TeamCity do you use?

Could you please send us dotCover’s log file? In order to do it please complete the following steps:

- add configuration parameter "teamcity.agent.dotCover.log" with value "%system.teamcity.build.tempDir%/dotCoverLogs"

- run build

- go to build artifacts, choose "show hidden artifacts" and find .teamcity/.NETCoverage/dotCoverLogs.zip

 
Thanks in advance.
Regards.

0

Please sign in to leave a comment.