Fills other values based on recorded visit count numbers.
Adds or updates summary data and other computed items in the OpenCover format report.
In -Coverlet
mode, also fills in some of the gaps left by coverlet
’s OpenCover dialect, particularly giving somewhat meaningful start and end column values for its line-based paradigm, as well as npath coverage and branch exits.
$xml = Write-OpenCoverDerivedState -InputFile "./_Reports/OpenCoverForPester/OpenCoverForPester.coverlet.xml" -Coverlet -Assembly $Assemblies -OutputFile "./_Packaging/OpenCoverForPester.coverlet.xml"
$xml = Write-OpenCoverDerivedState -InputFile "./_Reports/OpenCoverForPester/OpenCoverForPester.xml"
public class WriteOpenCoverDerivedStateCommand : PSCmdlet
name | description |
---|---|
WriteOpenCoverDerivedStateCommand() | The default constructor. |
Assembly { get; set; } | Assemblies to use for generating the output |
BranchOrdinal { get; set; } | The data source was generated by coverlet , so needs more work doing. |
Coverlet { get; set; } | The data source was generated by coverlet , so needs more work doing. |
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 |