OpenCoverToCoberturaConverterCakeAliases.

OpenCoverToCoberturaConverter(ICakeContext, FilePath, FilePath, OpenCoverToCoberturaConverterSettings) Method

Summary

Converts the opencover report to cobertura using the specified settings.

Syntax

public static void OpenCoverToCoberturaConverter(this ICakeContext context, FilePath openCoverReport, FilePath coberturaReport, OpenCoverToCoberturaConverterSettings settings)

Examples

OpenCoverToCoberturaConverter("c:/temp/coverage/opencover.xml", "c:/temp/coverage/cobertura.xml", new OpenCoverToCoberturaConverterSettings(){
    SolutionBaseDirectory = ...
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
openCoverReport FilePath The opencover coverage report.
coberturaReport FilePath The output cobertura file.
settings OpenCoverToCoberturaConverterSettings The settings.

Return Value

Type Description
void