Arquillian Core 1.0.2.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.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

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 9

Maintenance release + Multi war support

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
Bug
  • ARQ-376 - Environment configuration is overridden by arquillian.xml
  • ARQ-620 - arquillian-core-impl-base needs a non-optional dependency on jboss-logmanager
Task
  • ARQ-956 - Remove dependency on jboss-logging in JMX protocol

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