In the June '24 release of ACB, a new functionality to test existing MUnits was introduced. Use this project to try it out!
There are 5 tests in total, one that fails on purpose.
For more information, check out this demo.
Please note that you will need Enterprise credentials to access this feature on ACB.
To make sure your credentials work properly, go to this link and use your credentials to sign in.
You will use those credentials in your Maven's settings.xml
file. You can use this example-settings.xml
file as a guide to set up your own or refer to this link for more information.
If you're running the MULE_CE
(community edition) runtime, you will be able to run the tests but you won't be able to debug them.
To make sure you're running the enterprise edition, you can add the following line in your mule-artifact.json
.
"requiredProduct": "MULE_EE"
Refer to this file for an example of how this looks like.
If you're running Mule 4.7 and/or Java 17 for your project, make sure to use the latest versions of the Mule Maven Plugin and MUnit.
You can set these versions in your pom.xml
and check the latest versions using the following links: