fail()
Purpose
Marks a test as Failed.
Syntax
fail( [<string>] )
where:
<string> is an optional message
Description
The corresponding test result is Failed if the Fail() method is encountered.
An optional <string> message can be logged and displayed in the test report.
If an exception is thrown in the Fail() method, the test is stopped.
Examples
verifyLogMessage("test fail");
fail();
verifyLogMessage("test fail");
fail("test fail");