You are viewing an older version of this section. Click here to navigate to the latest version.


For the current version of MUnit, see MUnit 1.2.0.

Mule testing framework that allows you to:

  • mock the output of your message processors

  • write tests in XML or Java

  • create tests in the Anypoint Studio drag-and-drop interface

  • insert spy functionality to track what happens before and after a message processor is called

  • view coverage reports in Studio

  • run tests with your plugins

  • access detailed Mule stacktraces that pinpoint message processor failures

  • integrate with Maven and Surefire for continuous integration support 

Access MUnit’s code repository on github, or install the Studio plugin from the Addons update site within Studio.

Although MUnit is not yet supported by MuleSoft, you can access developer documentation and community FAQs on the MUnit github wiki page.

In this topic: