We’re happy to announce the 1.0 release candidate of MUnit – the unit and functional test framework for Mule. This is our first official release of MUnit and incorporates major usability improvements, broader support for Mule components and many bug fixes.

MUnit has been flying in stealth mode for the past year or two, and we’re finally ready to declare it ready for a much broader audience. MUnit came directly out of our work in building and testing Mule applications internally at MuleSoft and working with our customers, and is a test framework for creating unit and integration tests for Mule.

With MUnit you can easily create tests within Anypoint Studio. It is also fully integrated with Maven and Surefire for extensibility into your continuous integration environment. Within an MUnit test suite, developers have access to a full suite of testing tools

Assertions for Mule messages to ensure the Mule message is what you expect

Mocking of components inside a Mule flow (the service doesn’t need to be running in production)

Verify calls and test the # of times an MP has been called: exactly one, at least #, at most #

We'd love to hear your opinion on this post

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.

MuleSoft provides the most widely used integration platform for connecting any application, data source or API, whether in the cloud or on-premises. With Anypoint Platform®, MuleSoft delivers a complete integration experience built on proven open source technology, eliminating the pain and cost of point-to-point integration. Anypoint Platform includes CloudHub™ iPaaS, Mule ESB™, and a unified solution for API management™, design and publishing.