Arquillian Core 1.0.0.CR6 Released
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
- 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 17
Manual Containers
- 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
- Component Upgrade
- 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
- Quality Risk
-
- ARQ-570 - Minor docs typos
- Task
Thanks to the following list of contributors: Aslak Knutsen, Martin Gencur, Pedro Kowalski, Vineet Reynolds, Htfv (aliaksei Lahachou)