Contact Us 1-800-596-4880

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.