Contact Free trial Login

Fail Event Processor

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.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.