Arquillian Core 1.0.2.Final Released

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

Another little maintenance release in the Arquillian 1.0 series.

The @Deployment can now be defined on private and protected methods. The same package and protected support is applicable to the SPI level for service and observer implementations.

@Deployment
static JavaArchive createDeployment() {
   ...
}

Using environment variables in arquillian.xml is now possible via the property expression ENV.name

<container qualifier="example">
   <property name="jbossHome">${ENV.JBOSS_HOME}</property>
</container>

Ever run into this exception? “UnsupportedOperationException: Multiple WebArchives found in X.ear. Can not determine which to enrich.”
The exception happens when the Servlet Protocol in Arquillian attempts to enrich an EnterpriseArchive for in-container testing, but multiple WebArchives were found in the Deployment, and it can’t determine which you want to test. With the help of Robert Panzer this is now supported. You can give a Protocol a hint to which Archive is under test by using the new Testable.archiveToTest(Archive) method.

@Deployment
static EnterpriseArchive create() {
   return ShrinkWrap.create(EnterpriseArchive.class)
      .addAsModule(...some..war..)
      .addAsModule(
         Testable.archiveToTest(
            ShrinkWrap.create(WebArchive.class)
               .addXYZ(...)
         )
      );
}

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.0.2.Final view tag
Release date 2012-07-23
Released by Aslak Knutsen
Compiled against
  • ShrinkWrap Core – 1.0.1
  • ShrinkWrap Descriptors – 2.0.0-alpha-3
  • JUnit – 4.8.1
  • TestNG – 5.14.6

Published artifacts org.jboss.arquillian

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

Release notes and resolved issues 9

Maintenance release + Multi war support

Bug
  • ARQ-376 - Environment configuration is overridden by arquillian.xml
  • ARQ-620 - arquillian-core-impl-base needs a non-optional dependency on jboss-logmanager
Enhancement
  • ARQ-920 - Support @Deployment on non-public member (method or field)
  • ARQ-921 - Make environment variables available for property replacement in configuration
Feature Request
  • ARQ-990 - Update dependencies to simplify downstream Fedora Packaging
  • ARQ-1024 - Support package private implementation
  • ARQ-1035 - Should support enriching a specific module in a multi module deployment
Task
  • ARQ-956 - Remove dependency on jboss-logging in JMX protocol

Thanks to the following list of contributors: Aslak Knutsen, Robert.panzer, Dan Allen, Thomas Diesler