A summary of all the assertions included with Blade.
Blade ships with the following assertions you can use in your tests:
The main Blade assertion is Assert-That. Assert-That makes your assertions read like sentences, e.g.
Assert-That 'fubar' -Contains 'snafu'
Assert-That can assert that:
-Throws
parameter)-DoesNotThrowException
parameter)-Contains
parameter)-DoesNotContain
parameter)$Error
variable.$false
.$LastExitCode
is non-zero.$LastExitCode
is zero.$Error
.$true
.