Arquillian Spacelift 1.0.0.Alpha6 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.Alpha6 release of the Arquillian Spacelift component!

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Spacelift
Version 1.0.0.Alpha6 view tag
Release date 2015-02-18
Released by Stefan Miklosovic
Compiled against

Published artifacts org.arquillian.spacelift

  • org.arquillian.spacelift » arquillian-spacelift-api jar javadoc pom
  • org.arquillian.spacelift » arquillian-spacelift jar javadoc pom

Release notes and resolved issues 1

Bug
  • ARQ-1922 - Undeleted ArquillianSpaceliftExtension file prevents Spacelift from usage with Arquillian extensions

Thanks to the following list of contributors: Stefan Miklosovic, Karel Piwko

ShrinkWrap Descriptors 2.0.0-alpha-7 Released

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

The Arquillian team is proud to announce the 2.0.0-alpha-7 release of the ShrinkWrap Descriptors component!

What is ShrinkWrap Descriptors?

The Shrinkwrap Descriptor project provides an uniformed fluent API for creating and modifying Java EE deployment descriptors on the fly. Starting from the very early JEE 1.3 to the brand new Java EE 7 version, the descriptor project includes almost all official deployment descriptors. Several vendor specific deployment descriptors, mostly JBoss related, are covered as well.

Release details

Component ShrinkWrap Descriptors
Version 2.0.0-alpha-7 view tag
Release date 2015-02-11
Released by Aslak Knutsen

Published artifacts org.jboss.shrinkwrap.descriptors

  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-base jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-javaee jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-javaee-prototype jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-jboss jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-misc jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-ant jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-bom pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-depchain pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-gen jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-base jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-javaee jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-javaee-prototype jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-jboss jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-misc jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-spi jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-test jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-test-util jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-metadata-parser-test jar javadoc pom

Release notes and resolved issues 2

Bug
  • SHRINKDESC-154 - ShrinkWrap Descriptors BOM should contain ShrinkWrap Descriptors DepChains
  • SHRINKDESC-159 - Descriptors should not expose in test scope dependency fest-assert

Thanks to the following list of contributors: Aslak Knutsen, Andrew Lee Rubinger

Arquillian Core 1.1.7.Final Released

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

The Arquillian team is proud to announce the 1.1.7.Final release of the Arquillian Core component!

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Core
Version 1.1.7.Final view tag
Release date 2015-02-11
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.core

  • org.jboss.arquillian.core » arquillian-core-api jar javadoc pom
  • org.jboss.arquillian.core » arquillian-core-spi jar javadoc pom
  • org.jboss.arquillian.core » arquillian-core-impl-base jar javadoc pom
  • org.jboss.arquillian.config » arquillian-config-api jar javadoc pom
  • org.jboss.arquillian.config » arquillian-config-spi jar javadoc pom
  • org.jboss.arquillian.config » arquillian-config-impl-base jar javadoc pom
  • org.jboss.arquillian.test » arquillian-test-api jar javadoc pom
  • org.jboss.arquillian.test » arquillian-test-spi jar javadoc pom
  • org.jboss.arquillian.test » arquillian-test-impl-base jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-spi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-impl-base jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-test-api jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-test-spi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-test-impl-base jar javadoc pom
  • org.jboss.arquillian.junit » arquillian-junit-core jar javadoc pom
  • org.jboss.arquillian.junit » arquillian-junit-standalone jar javadoc pom
  • org.jboss.arquillian.junit » arquillian-junit-container jar javadoc pom
  • org.jboss.arquillian.testng » arquillian-testng-core jar javadoc pom
  • org.jboss.arquillian.testng » arquillian-testng-standalone jar javadoc pom
  • org.jboss.arquillian.testng » arquillian-testng-container jar javadoc pom
  • org.jboss.arquillian.testenricher » arquillian-testenricher-cdi jar javadoc pom
  • org.jboss.arquillian.testenricher » arquillian-testenricher-ejb jar javadoc pom
  • org.jboss.arquillian.testenricher » arquillian-testenricher-resource jar javadoc pom
  • org.jboss.arquillian.testenricher » arquillian-testenricher-initialcontext jar javadoc pom
  • org.jboss.arquillian.protocol » arquillian-protocol-servlet jar javadoc pom
  • org.jboss.arquillian.protocol » arquillian-protocol-jmx jar javadoc pom
  • org.jboss.arquillian » arquillian-bom pom

Release notes and resolved issues 5

Enhancement
  • ARQ-1911 - EventRecorder should support recording active Thread
  • ARQ-1915 - ShrinkWrap Descriptors upgrade 2.0.0-alpha-7
Bug
  • ARQ-1818 - JUnit @Before/After phase is called after/before Arquillian's Before/After phase
  • ARQ-1880 - Arquillian core relies on TCCL to load infra
  • ARQ-1910 - EventRecording done in AbstractManagerTestBase is not thread safe

Thanks to the following list of contributors: Aslak Knutsen, Thomas Diesler

ShrinkWrap Descriptors Docker 1.0.0-alpha-2 Released

The Arquillian team is proud to announce the 1.0.0-alpha-2 release of the ShrinkWrap Descriptors Docker component!

Usage improvements

With 1.0.0-alpha-2 we have improved the method chaining so you can write the Dockerfile in a slightly more compact syntax with the help of a few new top level shortcuts:

DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class)
        .from("jbossforge")
        .user("George");
descriptor.exportAsString();

The syntax from 1.0.0-alpha-1 is still valid:

DockerDescriptor descriptor = Descriptors.create(DockerDescriptor.class)
        .from().name("jbossforge").up()
        .user().name("George").up();
descriptor.exportAsString();

And they both produce the same output:

FROM jbossforge
USER George

What is ShrinkWrap Descriptors Docker?

The Shrinkwrap Descriptor project provides an uniformed fluent API for creating and modifying Java EE deployment descriptors on the fly. Starting from the very early JEE 1.3 to the brand new Java EE 7 version, the descriptor project includes almost all official deployment descriptors. Several vendor specific deployment descriptors, mostly JBoss related, are covered as well.

Release details

Component ShrinkWrap Descriptors Docker
Version 1.0.0-alpha-2 view tag
Release date 2015-02-05
Released by George Gastaldi
Compiled against

Published artifacts org.jboss.shrinkwrap.descriptors

  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-api-docker jar javadoc pom
  • org.jboss.shrinkwrap.descriptors » shrinkwrap-descriptors-impl-docker jar javadoc pom

Thanks to the following list of contributors: George Gastaldi

Arquillian Liferay 1.0.0.Alpha1 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.Alpha1 release of the Arquillian Liferay component!

What is it?

Arquillian extension for Liferay is a set of tools to help developers test their Liferay plugins.

It consists of:

  • Arquillian Remote Container for Liferay (OSGi based)
  • Arquillian Deployment Scenario Generator for OSGi SDK plugins based on BND
  • Arquillian Deployment Scenario Generator for legacy Maven plugins

How to use it?

Arquillian Container for Liferay

is a regular remote container. Just add it to your test classpath.
It is based on Karaf remote container, so you can use the same configuration properties. However Liferay container changes some default values:

  • DEFAULT_JMX_SERVICE_URL = “service:jmx:rmi:///jndi/rmi://localhost:8099/jmxrmi”
  • DEFAULT_JMX_USERNAME = ""
  • DEFAULT_JMX_PASSWORD = ""
  • DEFAULT_HTTP_HOST = “localhost”
  • DEFAULT_HTTP_PORT = 8080
  • isAutostartBundle() == true

To configure your Liferay server you have to:

  • Enable JMX (for example: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=8099 -Dcom.sun.management.jmxremote.ssl=false) in your application server
  • Deploy Aries JMX Extensions into Liferay Server
  • If you need more configuration options follow these instructions.

In case you are using Liferay Plugins SDK 6.2 CE and tomcat you can use the target “setup-testable-tomcat” to configure tomcat to accept tests.

Arquillian Deployment Scenario Generator for OSGi SDK plugins based on BND

If you are creating liferay OSGi plugins using plugins SDK simply add:

<dependency name="arquillian-deployment-generator-bnd" org="org.arquillian.liferay" rev="1.0.0.Alpha1" />

to your ivy.xml file and you don’t need to specify a @Deployment annotated static method in your test. The deployable archive will be generated for you using the plugin information in BND.

In case you need to specify a different BND file for the test archive use @BNDFile annotation to specify it.

You can find examples of use of these here:

Just notice that package name changes have occurred since the publication of these examples.

Arquillian Deployment Scenario Generator for legacy Maven plugins

Just the same as BND generator this extension allows you to create tests without having to specify a @Deployment static method. Test archive will be generated based on your pom.xml.

This extension is independent of the container. You can even configure it to use Tomcat to accept tests for legacy plugins.

More examples usage can be found in the showcase.

What is Arquillian?

Arquillian is open source software that empowers you to test JVM-based applications more effectively. Created to defend the software galaxy from bugs, Arquillian brings your test to the runtime so you can focus on testing your application's behavior rather than managing the runtime. Using Arquillian, you can develop a comprehensive suite of tests from the convenience of your IDE and run them in any IDE, build tool or continuous integration environment.

Release details

Component Arquillian Liferay
Version 1.0.0.Alpha1 view tag
Release date 2015-02-01
Released by Aslak Knutsen
Compiled against

Published artifacts org.arquillian.liferay

  • org.arquillian.liferay » arquillian-container-liferay jar javadoc pom
  • org.arquillian.liferay » arquillian-deployment-generator-bnd jar javadoc pom
  • org.arquillian.liferay.maven » arquillian-liferay-maven-extension jar javadoc pom

Thanks to the following list of contributors: Carlos Sierra Andrés, Aslak Knutsen, Gregory Amerson, Kamesh Sampath