Getting started Community Training Tutorials Documentation APIs, AI & Tools
<munit-tools:fail
message="This should fail"/>
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
The Fail Event Processor allows you to fail your test on purpose. This is useful to validate that a test should fail if that point is reached.
<munit-tools:fail
message="This should fail"/>
The message field is optional and defines the error message to print when the assertion fails.
The processor throws a java.lang.AssertionError.