Nav
You are viewing an older version of this topic. To go to a different version, use the version menu at the upper-right. +

About Fail Event Processor

The Fail Event Processor allows you to fail your test on purpose. This is useful to validate that a specific event should not happen.


         
      
1
2
<munit-tools:fail
  message="This should fail"/>

The message field is optional and defines the error message to print when the assertion fails.

In this topic:

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.

+