Arquillian Core 1.0.0.CR8 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.CR8 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.0.0.CR8 view tag
Release date 2012-04-05
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

Support for Multiple Protocol Contexts within a Deployment

Enhancement
  • ARQ-715 - Add a getter for ProtocolMetaData.contexts
Feature Request
  • ARQ-792 - Honor system property for debugging Arquillian internals
  • ARQ-848 - Should support multiple Protocol Context within one Deployment
  • ARQ-849 - Should not attempt to deploy to a Container that is not started
  • ARQ-850 - Should support custom container mode
Bug
  • ARQ-670 - Arquillian Servlet's context root should be "test", not "test.war", in EAR
  • ARQ-724 - Upgrade to ShrinkWrap Resolver 1.1.0-alpha-2 in arquillian-parent.pom
  • ARQ-748 - Update Arquillian test dependencies to be able to do a clean build against Maven Central

Thanks to the following list of contributors: Aslak Knutsen, Karel Piwko, Alexis Hassler

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

Some of the highlights in this release

  • Configure Arquillian using properties – Adding -Dproperty.name=value to the command line can now add or override values defined in arquillian.xml.
arq.container.[qualifier].mode
arq.container.[qualifier].default
arq.container.[qualifier].configuration.[property_name]
arq.container.[qualifier].protocol.[type].[property_name]

arq.group.[qualifier].default
arq.group.[qualifier].container.[qualifier].configuration.[property_name]
arq.group.[qualifier].container.[qualifier].protocol.[type].[property_name]

arq.extension.[qualifier].[property_name]

arq.defaultprotocol.[type]
arq.defaultprotocol.[type].[property_name]

arq.engine.[property_name]

Example:

-Darq.container.production.configuration.jbossHome=/opt/jbossas/

You can add these in a properties file as well. Default Arquillian will look for a file called arquillian.properties on classpath or on disk, same with arquillian.xml. If you want to configure a different filename, you can use either -Darquillian.properties=name or -Darquillian.xml=name

Since the xml file is read first, the properties will add / override the xml values. In the case where you have a container defined as default in xml, but want to override the default in properties, you can add -Darquillian.launch to specify which container/group configuration to use.

  • @OperateOnDeployment on @ArquillianResource injection points
URL, InitialContext and Context on the client side can be qualified with the @OperateOnDeployment annotation.

@Deployment(name = "X")
public WebArchive appX() { ... }

@Deployment(name = "Y")
public WebArchive appX() { ... }

@Test @OperateOnDeployment("X")
public void shouldBeInjected(
      @ArquillianResource URL appXUrl,
      @ArquillianResource @OperateOnDeployment("Y") URL appYUrl)
{
  // ...
}

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.0.CR7 view tag
Release date 2011-12-15
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 8

Feature Request
  • ARQ-284 - Configuration options should be loadable from multiple sources
  • ARQ-533 - Support Qualifiers on @ArquillianResource in ResourceProvider's SPI
  • ARQ-645 - @ArquillianResource @OperatesOnDeployment("foo") URL; for multiple containers
  • ARQ-677 - Expose Deployment as part of TestDeployment so SPIs can access more information, e.g. Container
  • ARQ-692 - Update to jboss-parent:8 Contains 1.5/1.6 source level IDE issue
Bug
  • ARQ-678 - ExceptionProxy - java.lang.NoClassDefFoundError: org/jboss/util/id/SerialVersion
  • ARQ-699 - @ArquillianResource Deployer gets injected only for the first test when using manual deployment/container modes

Thanks to the following list of contributors: Aslak Knutsen

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

Some of the highlights in this release

Container Control modes – Containers can now be configured to have multiple different control modes using the new mode attribute in arquillian.xml

<container qualifier="X" mode="suite|class|manual" />
  • suite (default)
    As you know it from before, container will be started and stopped as part of the test suite.
  • class
    The container will be started and stopped for each TestClass
  • manual
    Control the lifecycle by injecting @ArquillianResource ContainerController and calling cc.start|stop|kill from within your TestMethods. In manual mode, the container will be automatically stopped in @AfterClass.
@ArquillianResource ContainerController controller;

@Test
public void shouldBeAbleTo() throws Exception
{
  // do stuff
  controller.start("qualifier");

  // do stuff
  controller.kill("qualifier");

  controller.start("qualifier", new Config("some-new-container-option", "value"));
  // do stuff
}

Ordering of JUnit TestMethods – As pr the JVM specification, the order of Methods in a Class are not tied to the order they are written in the source file. You can now annotated your TestMethods with @InSequence(n) to run them in a defined order.

Support for TestNG >= 6.3

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.0.CR6 view tag
Release date 2011-11-26
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 17

Manual Containers

Quality Risk
Component Upgrade
  • ARQ-607 - Upgrade to ShrinkWrap 1.0.0-beta-6
  • ARQ-637 - Track Shrinkwrap 1.0.0-cr-1
Feature Request
  • ARQ-236 - Configure the Container lifecycle based on the Test events
  • ARQ-336 - Inject container references in the test to start/stop containers
  • ARQ-382 - Figure out how to do doc release from Confluence
  • ARQ-474 - provide a mechanism to order the test runs
  • ARQ-532 - Add SPI for @ArquillianResource ResourceProvider
  • ARQ-608 - CDI Enricher should support non JNDI based BeanManager lookup by default
  • ARQ-661 - TestNG >= 6.3 has breaking API changes
Bug
  • ARQ-409 - Weld SE Embedded Doc Maven example should use weld-se-embedded-1.1
  • ARQ-594 - The reference guide at http://docs.jboss.org/arquillian/reference/latest/ should be removed
  • ARQ-605 - Arquillian TestNG base class breaks tests TestNG groups
  • ARQ-656 - CommandService implementations swallowing exceptions
Task
  • ARQ-49 - Arquillian depends upon ShrinkWrap internals
  • ARQ-108 - Should publish Arquillian artifacts to maven central

Thanks to the following list of contributors: Aslak Knutsen, Martin Gencur, Vineet Reynolds, Pedro Kowalski, Htfv (aliaksei Lahachou)

Arquillian Core 1.0.0.CR5 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.CR5 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.0.0.CR5 view tag
Release date 2011-09-14
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

SWD Beta update + configuration fixes

Feature Request
  • ARQ-148 - Support EL-like expressions for sysprops and env variables in arquillian.xml
Bug
  • ARQ-410 - Unable to test an archive with comments in web.xml
  • ARQ-452 - NPE in ServletUtil.determineBaseURI(ServletUtil.java:44) with multiple @Deployment methods that have non-unique names
  • ARQ-554 - Servlet creates invalid URIs for root context
  • ARQ-555 - readme.txt has wrong Source Code URL
  • ARQ-559 - Arquillian does not add Descriptors API to deployment
  • ARQ-568 - Allow setting default container in arquillian.xml containing group definitions
Task
  • ARQ-564 - Upgrade to stable, back-compat ShrinkWrap Descriptors

Thanks to the following list of contributors: Aslak Knutsen, Andrew Lee Rubinger, Ralf Battenfeld, Ian Brandt

Arquillian Core 1.0.0.CR4 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.CR4 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.0.0.CR4 view tag
Release date 2011-08-16
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 3

Quick fix CR4 release

Bug
  • ARQ-402 - Arquillian no longer works on Java 1.5
  • ARQ-549 - Guice is no longer a required dependency of TestNG, Arquillian TestNG Archive Appender should not force it

Thanks to the following list of contributors: Aslak Knutsen