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 Persistence Extension 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 Persistence Extension component!

Some of the highlights in this release

Seeding database using @Data annotation on either class or method level.

Verifying database state after test execution using @Expected annotation.

@Test
@Data("datasets/users.yml")
@Expected("datasets/expected-users.yml")
public void shouldChangeUserPassword() throws Exception {
   // given
   String expectedPassword = "LexLuthor";
   UserAccount user = em.find(UserAccount.class, 2L);

   // when
   user.setPassword("LexLuthor");
   em.merge(user);

   // then
   assertThat(user.getPassword()).isEqualTo(expectedPassword);
}
users.yml
useraccount:
  - id: 1
    firstname: John
    lastname: Smith
    username: doovde
    password: password
  - id: 2
    firstname: Clark
    lastname: Kent
    username: superman
    password: kryptonite
expected-users.yml
useraccount:
  - firstname: John
    lastname: Smith
    username: doovde
    password: password
  - firstname: Clark
    lastname: Kent
    username: superman
    password: LexLuthor

Support for following formats as DBUnit data sets:

  • YAML
  • Flat XML
  • Excel

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 Persistence Extension
Version 1.0.0.Alpha1 view tag
Release date 2011-11-14
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-persistence-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-persistence-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-persistence-integration-tests jar javadoc pom

Release notes and resolved issues 1

Initial version of the Arquillian Persistence Extension

Thanks to the following list of contributors: Bartosz Majsak, Aslak Knutsen

Arquillian Container - WebLogic Project 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 Container - WebLogic Project 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 Container - WebLogic Project
Modules
Version 1.0.0.Alpha1 view tag
Release date 2011-11-02
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-wls-remote-10.3 jar javadoc pom

Release notes and resolved issues 2

Containers WebLogic preview release

Feature Request
  • ARQ-138 - Implement a remote Weblogic Server container

Thanks to the following list of contributors: Vineet Reynolds, Aslak Knutsen, George Gastaldi

ShrinkWrap Resolver 1.1.0-alpha-1 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.0-alpha-1 release of the ShrinkWrap Resolver component!

What is ShrinkWrap Resolver?

The ShrinkWrap Resolvers project provides a Java API to obtain artifacts from a repository system. This is handy to include third party libraries available in any Maven repository in your test archive. ShrinkWrap Resolvers additionally allow you to reuse all the configuration you've already specified in the Maven build file, making packaging of an application archive much easier job.

Release details

Component ShrinkWrap Resolver
Version 1.1.0-alpha-1 view tag
Release date 2011-10-31
Released by Andrew Lee Rubinger
Compiled against
  • JUnit – 4.8.2

Published artifacts org.jboss.shrinkwrap.resolver

  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-api jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-api-maven jar javadoc pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-impl-maven jar javadoc pom
  • org.jboss.shrinkwrap.resolver.test » shrinkwrap-resolver-impl-maven-test-jar-sample jar javadoc pom
  • org.jboss.shrinkwrap.resolver.test » shrinkwrap-resolver-impl-maven-test-ear-sample-test jar javadoc pom

Release notes and resolved issues 0

Thanks to the following list of contributors: Andrew Lee Rubinger, José Rodolfo Freitas, Karel Piwko, Davide D'alto, Samuel Santos

Arquillian Container GlassFish 1.0.0.CR2 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.CR2 release of the Arquillian Container GlassFish 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 Container GlassFish
Modules
Version 1.0.0.CR2 view tag
Release date 2011-10-25
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-glassfish-remote-3.1 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-glassfish-embedded-3.1 jar javadoc pom

Release notes and resolved issues 12

Container GlassFish - CR2

Feature Request
  • ARQ-269 - Consolidate the remote host configuration for GlassFish Remote
  • ARQ-398 - Help GlassFish understand relative URIs
  • ARQ-449 - Add support for SSL on Admin console
  • ARQ-450 - Support dynamic generation of ProtocolMetadata
  • ARQ-592 - Bind CommandRunner to JNDI when GlassFish Embedded Container starts
  • ARQ-635 - Support multiple sun-resource.xml files in arquillian.xml
Bug
  • ARQ-400 - GlassFish Embedded 3.1 configuration is not validated
  • ARQ-543 - CDI injection into testcase does not work on GlassFish
  • ARQ-606 - Glassfish JUnit test fails upon successful deploy (but with warnings)
  • ARQ-627 - Arquillian fails to connect to remote Glassfish instances/clusters when the node-host for the instances/clusters is "localhost"
Patch
  • ARQ-527 - EAR deployment on remote container in server mode

Thanks to the following list of contributors: Vineet Reynolds, Aslak Knutsen, Pedro Kowalski, Zoltan Paulovics, Magnus Smith, Konrad Fischer