Creates and throws a Blade.AssertionException
, which fails a test.
New-AssertionException [[-Message] <String>] [<CommonParameters>]
All failed assertions call this function to report the failure. This is Blade's Fail
function.
ALIASES
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Message | String | The failure message. |
false | false |