Generates a simple HTML report from coverage data.
The report produced is based on the old NCover 1.5.8 XSLT, for both NCover and OpenCover coverage format data. The input is as a file name or an XDocument
from the pipeline, the output is to the pipeline as an XDocument
, and, optionally, to a file.
$xml = ConvertTo-BarChart -InputFile "./Tests/HandRolledMonoCoverage.xml" -OutputFile "./_Packaging/HandRolledMonoCoverage.html"
public class ConvertToBarChartCommand : PSCmdlet
name | description |
---|---|
ConvertToBarChartCommand() | 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 |