13 March, 2018KumuluzEETestingArquillianUrban Malc

Introducing Arquillian Support

Integration testing with the KumuluzEE framework has just become a lot easier with the KumuluzEE Arquillian Container Adapter.

The newly developed adapter brings support for the popular Arquillian framework. KumuluzEE Arquillian Container Adapter starts the KumuluzEE server before running the tests, which enables the tests to interact with the environment closely resembling the one in production.

The Arquillian framework allows you to build and run multiple different deployments built programmatically. For example, see the following two classes, in which a simple JAR is built and the CDI interaction is tested:


public class SimpleBean {

    public String sayHello() {
        return "bean-hello";


public class InjectTest {

    public static JavaArchive createDeployment() {
        return ShrinkWrap.create(JavaArchive.class)
                .addAsManifestResource(EmptyAsset.INSTANCE, "beans.xml");

    private SimpleBean bean;

    public void injectTest() {
        Assert.assertEquals("bean-hello", bean.sayHello());

The adapter is currently in the SNAPSHOT phase. Check it out and if you find any issues, please report them on GitHub.

More details and examples are available at KumuluzEE Arquillian Container Adapter.