altcover

ConvertToCoberturaCommand class

Creates a Cobertura format report from other report formats.

Takes either OpenCover or classic NCover format input as an XDocument, as an argument or from the object pipeline.

Writes the Cobertura report to the object pipeline as an XDocument, and optionally to a file.

ConvertTo-Cobertura -InputFile "./Tests/HandRolledMonoCoverage.xml" -OutputFile "./_Packaging/OpenCover.lcov"
public class ConvertToCoberturaCommand : PSCmdlet

Public Members

name description
ConvertToCoberturaCommand() The default constructor.
InputFile { get; set; } Input as file path
OutputFile { get; set; } Output as file path
XDocument { get; set; } Input as XDocument value
override ProcessRecord() Create transformed document

See Also