Arquillian Cube Extension 1.0.0.Alpha20 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.0.0.Alpha20 release of the Arquillian Cube Extension component!

New version of Arquillian Cube 1.0.0.Alpha20 has been released with one handy new feature and few bug fixes.

What’s new

Arquillian Cube Container Object DSL

A new option to start/stop containers is based on a generic container object provided by Arquillian Cube to define cube instances.

@DockerContainer
Container pingpong = Container.withContainerName("pingpong")
                        .fromImage("jonmorehouse/ping-pong")
                        .withPortBinding(8080)
                        .build();

@Test
public void should_return_ok_as_pong() throws IOException {
   String response = ping(pingpong.getIpAddress(), pingpong.getBindPort(8080));
  assertThat(response).containsSequence("OK");
}

You can also create networks in a similar, programmatic way:

@DockerNetwork
Network network = Network.withDefaultDriver("mynetwork").build();

By default Arquillian Cube will start and stop containers/networks at before/after test class execution, not per test method. You can modify this by using .withConnectionMode and configure it to be per test method.

Last but not least thank you to all users that has reported issues.

What is Arquillian Cube Extension?

With Arquillian Cube you can control the lifecycle of Docker images as part of the test lifecyle, either automatically or manually. This gives you the chance to scale up from a integration/functional test level all the way up to the system test level.

Release details

Component Arquillian Cube Extension
Version 1.0.0.Alpha20 view tag
Release date 2017-03-14
Released by Alex Soto
Compiled against

Published artifacts org.arquillian.cube

  • org.arquillian.cube » arquillian-cube-api jar javadoc pom
  • org.arquillian.cube » arquillian-cube-spi jar javadoc pom
  • org.arquillian.cube » arquillian-cube-core jar javadoc pom
  • org.arquillian.cube » arquillian-cube-containerless jar javadoc pom
  • org.arquillian.cube » assertj-docker-java jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-drone jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-docker-restassured jar javadoc pom
  • org.arquillian.cube » arquillian-cube-openshift jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-fabric8 jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes jar javadoc pom
  • org.arquillian.cube » arquillian-cube-kubernetes-reporter jar javadoc pom
  • org.arquillian.cube » arquillian-cube-requirement jar javadoc pom
  • org.arquillian.cube » arquillian-cube-bom pom

Release notes and resolved issues 5

Bug
Enhancement

Thanks to the following list of contributors: Alex Soto, Ioannis Canellos, Dipak Pawar, EddĂș MelĂ©ndez Gonzales