CleanCode PowerShell Libraries v1.2.08 API: CleanCode » Assertion
Aborting and non-aborting validation functions for testing.
The main workhorse function is Assert-Expression. The remaining functions are used before your Assert-Expression calls to tailor its behavior or after all calls to examine the results.
|Assert-Expression||Tests a PowerShell expression against expected values and provides color-coded results.|
|Get-AssertCounts||Reports the previously collected pass/fail statistics (and resets the counters).|
|Set-AbortOnError||Adjusts Assert-Expression to throw an exception on a failure rather than to just report the failure.|
|Set-MaxExpressionDisplayLength||Adjusts the column width of the echoed input express to Assert-Expression.|
This documentation set was created with CleanCode's DocTreeGenerator.