Testing with JUnit in Mule ESB
JUnit is a framework for implementing unit testing in Java. An open source Java testing framework is used to write and run repeatable automated tests. In JUnit 4.0, we do not need to extend from the JUnit framework to
TestCase. Also, there is no need to use the prefix
Test with the test method. You can run the test using
@NAME syntax, which already has been introduced. In the Dropbox integration example, you will learn about JUnit 4 and Selenium testing.
Create a new project on Mule to test with JUnit using the following steps:
- Open Mule Studio and enter the workspace name as shown in the following screenshot:
- To create a new project, go to File | New | Mule Project. Enter the ...