Creates an Lcov 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 Lcov report to a file.
ConvertTo-Lcov -InputFile "./Tests/HandRolledMonoCoverage.xml" -OutputFile "./_Packaging/OpenCover.lcov"
public class ConvertToLcovCommand : PSCmdlet
name | description |
---|---|
ConvertToLcovCommand() | 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 |