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>
Copy to Clipboard Toggle word wrap
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.
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top