The Arquillian team is proud to announce the 1.1.5.Final release of the Arquillian Core component!
1.1.4.Final had some nasty bugs in it, 1.1.5.Final should have cleared these up.
What’s fixed in 1.1.5.Final?
- Fixed false positives with JUnit from 1.1.4.Final
Arquillian Core 1.1.4.Final had a nasty bug where it would ‘erase’ some special exception cases that could happen In Container, that gave the Client side the wrong result.
This has now been fixed. Expected exceptions, Assumption and Injection errors should now be reported correctly(Both when using the
- JUnit @Rules support
JUnit rules has historically been a bit tricky with Arquillian. They are executed outside of the Before/After lifecycle where Arquillian has been hooking in, leaving us with no control over when they are executed.
This has in the past caused them to be executed both on the Client side and In Container. With 1.1.5.Final, we’ve moved how all this is executed and included
@Rulesinto the Before/After handling.
@Ruleswill follow the same rules as
@After, that again follow the execution of
@Test. If the
@Testis executed In Container, so will the
@Testexecutes on Client, so will the
- Internal TestResult state correlates with actual result
An old bug in Arquillian has been that the Internal state of the TestResult inside of Arquillian has not matched the TestResult reported by the Test Framework. This comes from how Arquillian work and integrate with the different Test Framework.
The normal case is when using
@Test.expectedException setup, Arquillian internally will report it as failed since it caught an Exception. But the Test Framework might later choose that, no, this was Expected. This happens after Arquillian gave up control of the result and we never had a callback to get this result updated to the actual state.
From the Users perspective, this is just an internal detail and has been nothing to worry about. We’ve been moving forward with the Arquillian Recorder Extension that create User reports for the test run based on the internal state. Because of this, these reports has come out a bit off.
This is now fixed for both the JUnit and TestNG integrations.
For Extension developers who require the correct TestResult;
- Support exporting Deployments exploded
Arquillian has always supported exporting to disk the Archive that is about to be deployed to the container, either via the arquillian.deploymentExportPath System Property or via arquillian/engine/property@name=deploymentExportPath in
It dawned on us that if you’re exporting the deployments to disk, you’re probably interested in seeing the content.
With 1.1.5.Final you can add the arquillian.deploymentExportExploded System Property or arquillian/engine/property@name=deploymentExportExploded in
arquillian.xmlto have the deployment automatically exploded on export.
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.
|Version||1.1.5.Final view tag|
|Released by||Aslak Knutsen|
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