dangl - CoberturaConverter.Core 1.0.0
Package Description
PM> Install-Package CoberturaConverter.Core -Version 1.0.0 -Source https://www.myget.org/F/dangl/api/v3/index.json
> nuget.exe install CoberturaConverter.Core -Version 1.0.0 -Source https://www.myget.org/F/dangl/api/v3/index.json
> dotnet add package CoberturaConverter.Core --version 1.0.0 --source https://www.myget.org/F/dangl/api/v3/index.json
source https://www.myget.org/F/dangl/api/v3/index.json
nuget CoberturaConverter.Core ~> 1.0.0
Copy to clipboard
> choco install CoberturaConverter.Core --version 1.0.0 --source https://www.myget.org/F/dangl/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "dangl" -SourceLocation "https://www.myget.org/F/dangl/api/v2"
Install-Module -Name "CoberturaConverter.Core" -RequiredVersion "1.0.0" -Repository "dangl"
Copy to clipboard
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 Dangl.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.
dotCover Report Types
Because the filename
attribute is mandatory in the Cobertura format, dotCover reports should always be generated with the
DetailedXml
setting instead of the regular Xml
to output filenames. Otherwise, all classes in the dotCover report that do
not have a source file specified are ignored.
Referencing
If this is used in full .Net framework 4.6.1 and earlier, 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
CLI Usage
You can use the converter from the command line, it is available in the CoberturaConverter.CommandLine
NuGet package under /tools
both for net461 and netcoreapp2.0.
CoberturaConverter.CommandLine.exe -i <InputFile> -o <OutputFile> -s <DotCover | OpenCover>
Parameter | Description |
---|---|
-i | Path to the input file |
-o | Path where to save the converted report to |
-s | Source report format, can be either DotCover or OpenCover |
--help | Display options |
NUKE Example
The package is available as Dangl.Nuke.CoberturaConverter
.
using static Nuke.CoberturaConverter.CoberturaConverterTasks;
await DotCoverToCobertura(s => s
.SetInputFile(OutputDirectory / "coverage.xml")
.SetOutputFile(OutputDirectory / "cobertura_coverage.xml"));
v1.0.0
- Initial Release
- .NETStandard 2.0: 2.0.0.0
OwnersGeorg Dangl |
AuthorsGeorg Dangl |
Project URLhttps://github.com/GeorgDangl/CoberturaConverter |
LicenseUnknown |
Info362 total downloads |
6 downloads for version 1.0.0 |
Download (18.69 KB) |
Found on the current feed only |
Package history
Version | Size | Last updated | Downloads | Mirrored? | |||
---|---|---|---|---|---|---|---|
2.0.0 | 19.57 KB | Thu, 12 Nov 2020 23:24:13 GMT | 9 | ||||
2.0.0-beta0008 | 19.6 KB | Thu, 12 Nov 2020 23:15:18 GMT | 7 | ||||
2.0.0-beta0007 | 19.6 KB | Thu, 12 Nov 2020 23:13:11 GMT | 7 | ||||
1.3.1 | 19.53 KB | Fri, 13 Mar 2020 16:05:03 GMT | 8 | ||||
1.3.1-beta0003 | 19.55 KB | Fri, 13 Mar 2020 16:02:59 GMT | 7 | ||||
1.3.1-beta0002 | 19.47 KB | Fri, 13 Mar 2020 16:00:43 GMT | 8 | ||||
1.3.0 | 19.45 KB | Fri, 03 May 2019 15:41:06 GMT | 13 | ||||
1.3.0-beta0006 | 19.47 KB | Fri, 03 May 2019 15:36:12 GMT | 6 | ||||
1.2.1-beta0001 | 19.47 KB | Thu, 03 Jan 2019 15:07:13 GMT | 8 | ||||
1.2.0 | 19.44 KB | Sun, 05 Aug 2018 13:20:45 GMT | 8 | ||||
1.1.5-beta0003 | 19.48 KB | Sun, 05 Aug 2018 13:19:03 GMT | 8 | ||||
1.1.5-beta0002 | 19.47 KB | Sun, 05 Aug 2018 13:17:54 GMT | 8 | ||||
1.1.5-beta0001 | 19.47 KB | Sun, 05 Aug 2018 13:15:25 GMT | 8 | ||||
1.1.4 | 19.44 KB | Wed, 20 Jun 2018 10:06:06 GMT | 7 | ||||
1.1.4-beta0014 | 19.46 KB | Wed, 20 Jun 2018 10:02:52 GMT | 8 | ||||
1.1.4-beta0013 | 19.4 KB | Tue, 19 Jun 2018 19:37:54 GMT | 8 | ||||
1.1.4-beta0012 | 19.41 KB | Tue, 19 Jun 2018 18:35:30 GMT | 7 | ||||
1.1.4-beta0011 | 19.41 KB | Tue, 19 Jun 2018 13:32:44 GMT | 8 | ||||
1.1.4-beta0010 | 19.4 KB | Tue, 19 Jun 2018 13:30:01 GMT | 8 | ||||
1.1.3 | 19.36 KB | Tue, 29 May 2018 17:42:21 GMT | 8 | ||||
1.1.3-beta0001 | 19.37 KB | Tue, 29 May 2018 17:40:14 GMT | 7 | ||||
1.1.2 | 19.33 KB | Mon, 28 May 2018 09:41:40 GMT | 8 | ||||
1.1.2-beta0003 | 19.35 KB | Mon, 28 May 2018 09:31:33 GMT | 8 | ||||
1.1.2-beta0002 | 19.33 KB | Mon, 28 May 2018 08:40:16 GMT | 8 | ||||
1.1.2-beta0001 | 19.33 KB | Mon, 28 May 2018 08:39:12 GMT | 7 | ||||
1.1.1 | 19.28 KB | Mon, 28 May 2018 08:21:34 GMT | 8 | ||||
1.1.1-beta0006 | 19.31 KB | Mon, 28 May 2018 08:19:33 GMT | 7 | ||||
1.1.1-beta0005 | 19.32 KB | Mon, 28 May 2018 08:14:31 GMT | 8 | ||||
1.1.1-beta0002 | 19.25 KB | Mon, 28 May 2018 07:23:38 GMT | 6 | ||||
1.1.1-beta0001 | 19.24 KB | Sun, 06 May 2018 15:13:15 GMT | 7 | ||||
1.1.0 | 19.21 KB | Thu, 03 May 2018 12:40:56 GMT | 8 | ||||
1.0.2-beta0022 | 19.25 KB | Thu, 03 May 2018 12:39:19 GMT | 7 | ||||
1.0.2-beta0019 | 19.23 KB | Mon, 19 Mar 2018 21:24:51 GMT | 7 | ||||
1.0.2-beta0014 | 19.23 KB | Mon, 19 Mar 2018 21:11:46 GMT | 7 | ||||
1.0.2-beta0013 | 19.23 KB | Mon, 19 Mar 2018 20:25:27 GMT | 5 | ||||
1.0.2-beta0012 | 19.23 KB | Thu, 15 Mar 2018 16:28:41 GMT | 7 | ||||
1.0.2-beta0003 | 19.23 KB | Tue, 06 Mar 2018 17:30:24 GMT | 7 | ||||
1.0.2-beta0001 | 19.22 KB | Sat, 03 Mar 2018 23:40:38 GMT | 7 | ||||
1.0.1 | 19.2 KB | Sat, 03 Mar 2018 13:39:11 GMT | 7 | ||||
1.0.1-beta0004 | 19.2 KB | Sat, 03 Mar 2018 09:56:16 GMT | 8 | ||||
1.0.1-beta0003 | 19.05 KB | Sat, 03 Mar 2018 00:57:59 GMT | 6 | ||||
1.0.1-beta0002 | 19.02 KB | Sat, 03 Mar 2018 00:55:25 GMT | 8 | ||||
1.0.1-beta0001 | 18.84 KB | Fri, 02 Mar 2018 19:11:48 GMT | 7 | ||||
1.0.0 | 18.69 KB | Fri, 02 Mar 2018 19:04:26 GMT | 6 | ||||
0.1.0-beta0033 | 18.74 KB | Fri, 02 Mar 2018 19:01:14 GMT | 7 | ||||
0.1.0-beta0024 | 18.52 KB | Fri, 02 Mar 2018 13:07:46 GMT | 6 | ||||
0.1.0-beta0022 | 18.52 KB | Fri, 02 Mar 2018 12:26:15 GMT | 6 | ||||
0.1.0-beta0021 | 18.52 KB | Fri, 02 Mar 2018 12:24:37 GMT | 6 | ||||
0.1.0-beta0016 | 18.52 KB | Thu, 01 Mar 2018 23:23:27 GMT | 7 |