< Back

Convert-CodeCoverage

Wed Jan 15, 2020 1:54 am

NAME Convert-CodeCoverage



SYNOPSIS

Converts code coverage line and file reference from root module to file.





SYNTAX

Convert-CodeCoverage [-CodeCoverage] <PSObject> -BuildInfo <PSObject> [-Tee] [<CommonParameters>]





DESCRIPTION

When tests are executed against a merged module, all lines are relative to the psm1 file.



This command updates line references to match the development file set.





PARAMETERS

-CodeCoverage <PSObject>

The original code coverage report.



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-BuildInfo <PSObject>

The output from Get-BuildInfo for this project.



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Tee [<SwitchParameter>]

Write missed commands using format table as they are discovered.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS





RELATED LINKS