ShrinkWrap 1.2.0 Released

Since we wrote this post we didn't laze around. Check our latest announcement.

The Arquillian team is proud to announce the 1.2.0 release of the ShrinkWrap component!

What is ShrinkWrap?

ShrinkWrap is the simplest way to create archives in Java. Using the fluent and intuitive ShrinkWrap API, developers may assemble JARs, WARs, and EARs to be deployed directly by Arquillian during testing.

Release details

Component ShrinkWrap
Version 1.2.0 view tag
Release date 2013-08-07
Released by Andrew Lee Rubinger
Compiled against
  • JUnit – 4.8.2

Published artifacts org.jboss.shrinkwrap

  • org.jboss.shrinkwrap » shrinkwrap-api jar javadoc pom
  • org.jboss.shrinkwrap » shrinkwrap-api-nio2 jar javadoc pom
  • org.jboss.shrinkwrap » shrinkwrap-bom pom
  • org.jboss.shrinkwrap » shrinkwrap-depchain pom
  • org.jboss.shrinkwrap » shrinkwrap-depchain-java7 pom
  • org.jboss.shrinkwrap » shrinkwrap-impl-base jar javadoc pom
  • org.jboss.shrinkwrap » shrinkwrap-impl-nio2 jar javadoc pom
  • org.jboss.shrinkwrap » shrinkwrap-spi jar javadoc pom

Release notes and resolved issues 2

Feature Request
Task

Thanks to the following list of contributors: Andrew Lee Rubinger, Tair Sabirgaliev

Arquillian Core 1.1.1.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.1.1.Final 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.1.1.Final view tag
Release date 2013-08-04
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 2

Minor enhancement

Bug
  • ARQ-1040 - The properties of container configuration in arquillian.xml are not parsed properly

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

Arquillian Google Guice Extension 1.0.0.Alpha2 Released

The Arquillian team is proud to announce the 1.0.0.Alpha2 release of the Arquillian Google Guice Extension component!

Some of the highlights in this release

Servlet integration

This release bring one new cool feature, integration with the Guice Servlet extension

The whole integration requires only two simple steps to make the test use the web configured Guice injector.

The first step is to replace the GuiceFilter with the ArquillianGuiceFilter:

web.xml
<filter>
   <filter-name>guiceFilter</filter-name>
   <filter-class>org.jboss.arquillian.guice.api.servlet.ArquillianGuiceFilter</filter-class>
</filter>

<filter-mapping>
   <filter-name>guiceFilter</filter-name>
   <url-pattern>/*</url-pattern>
</filter-mapping> 

This can also be done at runtime; by doing a simple string replacement in the web descriptor when creating the deployment or by using ShrinkWrap Descriptors.

The second step is to annotate your test with @GuiceWebConfiguration. This will instruct the extension to retrieve the injector from the servlet context.

Example test:

WebInjectorTestCase.java
@GuiceWebConfiguration
@RunWith(Arquillian.class)
public class WebInjectorTestCase {

   @Deployment
   public static Archive createTestArchive() {
       return ShrinkWrap.create(WebArchive.class, "guice-test.war")
               .addClasses(Employee.class,
                       EmployeeService.class, DefaultEmployeeService.class,
                       EmployeeRepository.class, DefaultEmployeeRepository.class,
                       EmployeeModule.class, EmployeeModuleContextListener.class)
               .addAsWebInfResource("WEB-INF/web.xml", "web.xml");
   }

   @Inject
   private EmployeeService employeeService;

   @Test
   public void testGetEmployees() {

       List<Employee> result = employeeService.getEmployees();

       assertNotNull("Method returned null list as result.", result);
       assertEquals("Two employees were expected.", 2, result.size());
   }
}

The test can go beyond a simple example like this and allow for injection of other resources like Guice configured servlets, filters and listeners.

We look forward to hearing your feedback about this release in the community forums!

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 Google Guice Extension
Version 1.0.0.Alpha2 view tag
Release date 2013-08-01
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-guice-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-guice-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-guice-bom pom
  • org.jboss.arquillian.extension » arquillian-guice-int-tests jar javadoc pom

Release notes and resolved issues 3

Feature Request
  • ARQ-1447 - Inject Injector created through GuiceFilter.
Bug
  • ARQ-1439 - NoClassDefFoundError for MavenDependencyResolver when using Google Guice Extension

Thanks to the following list of contributors: Jakub Narloch, Aslak Knutsen

Arquillian Tomcat Container 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 Tomcat Container 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 Tomcat Container
Modules
Version 1.0.0.CR5 view tag
Release date 2013-07-26
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-tomcat-common jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-managed-5.5 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-embedded-6 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-remote-6 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-managed-6 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-embedded-7 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-managed-7 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-tomcat-remote-7 jar javadoc pom

Release notes and resolved issues 4

Support for ROOT

Feature Request
  • ARQ-963 - Support Tomcat 7 Remote
Bug
  • ARQ-865 - Allow managerUrl (or manager contextPath) to be configured in remote 6 container
  • ARQ-1393 - Unable to deploy ROOT.war to Tomcat remote and managed containers

Thanks to the following list of contributors: Aslak Knutsen, John Bush, Ian Brandt

Arquillian Container WebSphere AS 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 WebSphere AS component!

After a long wait; our first alpha release of a container implementation for WebSphere Application Server V8.5 Liberty Profile is finally out. Enjoy!

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 WebSphere AS
Modules
Version 1.0.0.Alpha1 view tag
Release date 2013-07-20
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-was-remote-7 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-was-embedded-8 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-was-remote-8 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-wlp-managed-85 jar javadoc pom

Release notes and resolved issues 2

First release of WebSphere support

Feature Request
  • ARQ-1221 - Create a managed DeployableContainer integration for WAS Liberty Profile V8.5.Next

Thanks to the following list of contributors: Gerhard Poul, Aslak Knutsen