CoberturaConverter
This package aims to provide conversion of code coverage reports to the Cobertura format. Currently, it supports
OpenCover and dotCover source formats.
It can be either directly used via the CoberturaConverter
NuGet package, as Nuke.CoberturaConverter
for
the NUKE Build system or as command line tool via CoberturaConverter.CommandLine
.
This project is based on Daniel Palmes OpenCoverToCobertura Converter, which is licensed under the Apache License.
Referencing
If this is used in full .Net framework earlier than 4.6.1, please add a reference to
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
CI Builds
All builds are available on MyGet:
https://www.myget.org/F/dangl/api/v2
https://www.myget.org/F/dangl/api/v3/index.json
NUKE Example
using static Nuke.CoberturaConverter.CoberturaConverterTasks;
await DotCoverToCobertura(new DotCoverConversionSettings()
.SetInputFile(OutputDirectory / "coverage.xml")
.SetOutputFile(OutputDirectory / "cobertura_coverage.xml"));