New-AssertionException

Creates and throws a Blade.AssertionException, which fails a test.

Syntax

New-AssertionException [[-Message] <String>] [<CommonParameters>]

Description

All failed assertions call this function to report the failure. This is Blade's Fail function.

ALIASES

Parameters

Name Type Description Required? Pipeline Input Default Value
Message String

The failure message.

false false