13.4. Add Test Support to a SwitchYard Application
You can add test support to your SwitchYard application by adding a dependency to the switchyard-test module in your application's
pom.xml
as shown below:
<dependency> <groupId>org.switchyard</groupId> <artifactId>switchyard-test</artifactId> <version>[release-version]</version> <!-- e.g. "1.1.1-p5-redhat-1" --> <scope>test</scope> </dependency>
Note
Note: camel dependency version is 2.10.0.redhat-60024.
In addition to a dependency on the core test framework, you can also use the MixIns in your test classes.