JetBrains/meta-runner-power-pack

Missing feature for allowing generate report on DotCover

Opened this issue · 2 comments

One of features in dotcover is _generate a report _with result after analysis in different formats (HTML|JSON|XML|NDependXML) .
More info: JetBrains DotCover Page

SonarQube accept import a results from the report generated from dotcover in HTML format.

In the meta-runner xUnit.net-dotCover is missing how enable for generate a report.

One option is add and extra step after execute metarunner.
This extra step execute in a poweshell or command line the following:

${path}/dotcover report /Source=xunitcoverage.dcvr /Output=ResultDotCover.html /ReportType=HTML
to generate this report.

This execution in sometimes fails because the xunitcoverage.dcvr not exists, I think when publish the artefact was deleted from the working folder.

I think if you execute dotcover report step how a part of the metarunner works fine.

Can you add this feature in the metarunner?

currently the runner uses the cover command. This feature requires the report command. However analyse might be more appropriate option rather than call dotcover twice.

I'll have a look this weekend at adding this as it doesn't look too difficult.

This has been added and can be closed