Arquillian Tomcat Container 1.0.0.CR3 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.CR3 release of the Arquillian Tomcat Container component!

Some of the highlights in this release

JavaHome configuration option now default to the Arquillian running JVM

Changed to use ISO-8859-1 to encode the authentication request against the Tomcat Containers

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.CR3 view tag
Release date 2012-02-23
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

Release notes and resolved issues 3

Small bug fix

Feature Request
  • ARQ-744 - All Managed containers should be able to read JAVA_HOME from current JVM if not defined
Bug
  • ARQ-630 - The default charset is used to encode the HTTP BASIC AUTH credentials string into a sequence of bytes. ISO-8859-1 should be used for Tomcat

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

Arquillian Seam 2 Extension 1.0.0.Alpha2 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.Alpha2 release of the Arquillian Seam 2 Extension component!

Some of the highlights in this release

Automated packing is now optional and can be turned off in arquillian.xml:

arquillian.xml
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://jboss.org/schema/arquillian"
  xsi:schemaLocation="
      http://jboss.org/schema/arquillian
      http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

  <extension qualifier="seam2">
    <property name="autoPackage">false</property>
  </extension>

</arquillian>

Fixed POM dependencies scopes.

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 Seam 2 Extension
Version 1.0.0.Alpha2 view tag
Release date 2012-02-22
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-seam2 jar javadoc pom

Release notes and resolved issues 3

Enhancement
  • ARQ-758 - Make autopacking optional through arquillian.xml
Bug
  • ARQ-766 - Fix scopes for container profiles.

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

Arquillian Seam 2 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 Seam 2 Extension component!

Some of the highlights in this release

Test enrichment for @In injection points from the Seam 2 Context.

Packaging support for adding the Seam 2 framework.

Ability to override Seam and JBoss EL versions defined in POM (so you can easily check if you app works with different Seam versions). Default are JBoss Seam 2.2.2.Final and JBoss EL 1.0_02.CR5.

arquillian.xml
<arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="http://jboss.org/schema/arquillian"
  xsi:schemaLocation="
      http://jboss.org/schema/arquillian
      http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

  <extension qualifier="seam2">
    <property name="seamVersion">2.2.1.Final</property>
    <property name="jbossElVersion">1.0_02.CR6</property>
  </extension>

</arquillian>

Tests were verified on JBoss AS 4.2.3.GA and 5.1.0.Final (both managed and remote).

Example below shows simple Seam component and the way how to write Arquillian test using this extension.

@Name("fluidOuncesConverter")
public class FluidOuncesConverter {
    public Double convertToMillilitres(Double ounces) {
        return ounces * 29.5735296;
    }
}

@RunWith(Arquillian.class)
public class ComponentInjectionTestCase {
    @Deployment
    public static Archive<?> createDeployment() {
        return ShrinkWrap.create(WebArchive.class, "test.war")
                .addClass(FluidOuncesConverter.class)
                .addAsResource(EmptyAsset.INSTANCE, "seam.properties")
                .setWebXML("web.xml");
    }

    @In
    FluidOuncesConverter fluidOuncesConverter;

    @Test
    public void shouldInjectSeamComponent() throws Exception {
        assertThat(fluidOuncesConverter).isNotNull();
    }

    @Test
    public void shouldConvertFluidOuncesToMillilitres() throws Exception {
        // given
        Double ouncesToConver = Double.valueOf(8.0d);
        Double expectedMillilitres = Double.valueOf(236.5882368d);

        // when
        Double millilitres = fluidOuncesConverter.convertToMillilitres(ouncesToConver);

        // then
        assertThat(millilitres).isEqualTo(expectedMillilitres);
    }
}

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 Seam 2 Extension
Version 1.0.0.Alpha1 view tag
Release date 2012-02-12
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-seam2 jar javadoc pom

Release notes and resolved issues 2

Initial release

Feature Request

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

ShrinkWrap 1.0.0-cr-3 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-cr-3 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.0.0-cr-3 view tag
Release date 2012-02-09
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-bom pom
  • org.jboss.shrinkwrap » shrinkwrap-depchain pom
  • org.jboss.shrinkwrap » shrinkwrap-impl-base jar javadoc pom
  • org.jboss.shrinkwrap » shrinkwrap-spi jar javadoc pom

Release notes and resolved issues 1

Feature Request
  • SHRINKWRAP-336 - Provide addAsServiceProvider overload that supports String

Thanks to the following list of contributors: Andrew Lee Rubinger, Davide D'alto

ShrinkWrap Resolver 1.0.0-beta-6 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-beta-6 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.0.0-beta-6 view tag
Release date 2012-02-09
Released by Andrew Lee Rubinger
Compiled against
  • JUnit – 4.8.2

Published artifacts org.jboss.shrinkwrap.resolver

  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-bom pom
  • 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-depchain pom
  • org.jboss.shrinkwrap.resolver » shrinkwrap-resolver-impl-maven jar javadoc pom

Release notes and resolved issues 0

Thanks to the following list of contributors: Andrew Lee Rubinger