Coverlet: Report format support for JaCoCo

Created on 22 Mar 2018  路  10Comments  路  Source: coverlet-coverage/coverlet

it works quite well so far! we are using it already in VSTS/TFS. but one thing which is not so streamlined for using in VSTS/TFS are the supported output formats. Currently VSTS/TFS only supports Cobertura and JaCoCo. Supporting one of this formats would be great.

feature-request tenet-reporters up-for-grabs

Most helpful comment

Cobertura support available in latest NuGet bits https://www.nuget.org/packages/coverlet.msbuild/1.1.0

All 10 comments

@OneCyrus multiple coverage formats is definitely an improvement. Do you happen to have links where these formats are documented?

it looks like there is no proper Cobertura specification.

but may be this links help:
https://leonard.io/blog/2011/06/cobertura-sample-xml-output/
https://github.com/danielpalme/OpenCoverToCoberturaConverter

Alright, will take a look. Thanks!

Thanks, how about JaCoCo?

FYI in the interim for linux builds I added

 dotnet Tools/OpenCoverToCoberturaConverter/OpenCoverToCoberturaConverter.dll  "-input:opencover.xml" "-output:Cobertura.xml"

from https://github.com/danielpalme/OpenCoverToCoberturaConverter

this worked for VSTS

Cobertura support available in latest NuGet bits https://www.nuget.org/packages/coverlet.msbuild/1.1.0

FIY - Cobertura also is default template in Jenkins. So cool that it is now support!

I am using VSTS with Cobertura format and getting results, but I can only report on lines right now. Any plans to update Cobertura to report blocks? Thanks for all your work on this!

Cobertura was added.

Was this page helpful?
0 / 5 - 0 ratings