Arquillian Cube Extension 1.2.0 Released
Since we wrote this post we didn't laze around. Check our latest announcement.
The Arquillian team is proud to announce the 1.2.0 release of the Arquillian Cube Extension component!
New version of Arquillian Cube 1.2.0 has been released with new features and few bug fixes.
What’s new
Adds annotation for sleeping before each test
You can annotate a class with @Sleep
annotation so before starting executing the tests, the execution is slept by the amount of milliseconds set there.
This annotation also supports timespan format. For example @Sleep("1m30s")
set a waiting of 1 minute and a half.
Add support for @HealthCheck annotation
p. You can annotate a class with @HealthCheck
annotation so before starting executing the tests, the execution is slept until the health check passes.
For example @HealthCheck("/myservice/healthcheck")
waits until the given endpoint returns an Http Code 200.
JUnit Rule for Container Object DSL approach
Now you can use Container Object DSL without Arquillian
runner. You only need to use a JUnit Rule
for this purpose.
@ClassRule
public static ContainerDslRule redis = new ContainerDslRule("redis:3.2.6")
.withPortBinding(6379);
Before executing test class, a new Docker container using Redis image is boot up and stopped after all tests.
Many thanks to A. Bos for his help.
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.2.0 view tag |
Release date | 2017-04-21 |
Released by | Bartosz Majsak |
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-docker-junit-rule 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
- Enhancement
- Bug
Thanks to the following list of contributors: Alex Soto, Bartosz Majsak, Adhesivee, Jelmer Van Amen, Ioannis Canellos