General Health. Calculated on a total score of 2900. Coverage and ScriptAnalyzer weight
1000, all the others weight
100
Coverage (everyone)
Coverage Metric.
.\manual.pester.ps1 -Path <functionname> -Coverage to get indications.
If is 0, no tests are running for this function: go ahead and create them!
ScriptAnalyzer (everyone)
General ScriptAnalyzer checks.
.\manual.pester.ps1 -Path <functionname> -ScriptAnalyzer to get
indications
Syntax (everyone)
The function has valid syntax
FunctionName (everyone)
Matches *-Dba*
EnableException (everyone)
Has an EnableException parameter (enables you to catch exceptions with your own try/catch)
BreakContinue (Core-Devs)
Should not contain continue/break
DeprecatedVerbosityCommands (everyone)
See Messaging
system. Does not use Write-Verbose, Write-Host, Write-Output, Write-Warning,
Write-Debug or Write-Information