UnitTestDescription
Type
statement
Summary
Make a unit test assertion with a description
Syntax
test <Description> when <Condition>
Description
Make a unit test assertion. The test is considered to have passed if Condition is true. The Description string is a short message that summarises what the test is checking.
Parameters
Name | Type | Description |
---|---|---|
Condition | An expression that evaluates to |
Examples
test "integer greater than" when 2 > 1