Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xUnit.net + dotCover how to publish coverage report in teamcity web ui ? #110

Open
valeriob opened this issue Dec 19, 2017 · 2 comments
Open
Labels

Comments

@valeriob
Copy link

valeriob commented Dec 19, 2017

I'm using teamcity 2017.2 and it does not show up with

Export dotCover report

enabled
UPDATE:
i just noticed this error :
No available .NET Coverage report generator for type 'dotcover'. Skipped files: [C:\TeamCity\buildAgent\work\3915e306ed37130f\xunitcoverage.dcvr]
any clue ?

@sventore
Copy link

2017.2 seems to require this line:
Write-Host "##teamcity[dotNetCoverage dotcover_home='$dotCoverExecutable']"

before this line (already in the meta runner)
write-host "##teamcity[importData type='dotNetCoverage' tool='dotcover' path='$outputFile']"

@dtretyakov dtretyakov added the bug label Jan 15, 2018
@dtretyakov
Copy link

In TeamCity 2017.2 appeared problem with dotCover path resolution, which will be fixed in 2017.2.2.

Current workaround is to specify dotcover_home parameter explicitly as mentioned in #110 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants