Arquillian OSGi 1.0.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.0.1 release of the Arquillian OSGi component!

What is Arquillian OSGi?

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 Arquillian OSGi
Modules
Version 1.0.1 view tag
Release date 2012-02-29
Released by Thomas Diesler
Compiled against

Published artifacts org.jboss.arquillian.testenricher

  • org.jboss.arquillian.testenricher » arquillian-testenricher-osgi jar javadoc pom
  • org.jboss.arquillian.protocol » arquillian-protocol-osgi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-osgi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-osgi-embedded jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-osgi-remote jar javadoc pom

Thanks to the following list of contributors: Thomas Diesler

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

The Arquillian Android extension allows you to use the Android SDK in your Arquillian tests. Most notably, it allows you to start an Android Virtual device or connect to a real device. A part of the Android Extension for Arquillian is the Android Drone Extension. This extension allows you to easily configure WebDriver based tests which will be executed directly in an emulator device.

When testing your application, you can then easily switch between desktop and mobile UI or develop mobile specific tests.

How to use it?

First, download the Android SDK from developer.android.com and point the ANDROID_HOME system variable to the directory where you extracted the SDK. You can then update and install specific SDK versions by running the `android` command.

Next, add Android extension to dependencies. This depchain will add both Arquillian Android and Android Drone extensions.

<dependency>
    <groupId>org.jboss.arquillian.extension</groupId>
    <artifactId>arquillian-android-depchain</artifactId>
    <version>1.0.0.Alpha1</version>
    <type>pom</type>
    <scope>test</scope>
</dependency>

Note: Make sure you do NOT have the Arquillian Drone Selenium Server on classpath, as it will collide with the Android SDK unless configured to run on a different port. If you can’t remove it from classpath, you should disable it in arquillian.xml

<extension qualifier="selenium-server">
    <!-- this must be skipped, we run /wd/hub on emulator -->
    <property name="skip">true</property>
</extension>

Download the Android Server APK to be installed to you mobile device from code.google.com. Use android-server-2.6.0.apk for devices including Android 2.3.4, latest version for Android 3.0 and newer.

Set up WebDriver in arquillian.xml

<extension qualifier="webdriver">
    <!-- this makes WebDriver connect hub on Android device -->
    <property name="remoteAddress">http://localhost:14444/wd/hub</property>
</extension>

Set up Android in arquillian.xml

<extension qualifier="android">
    <!-- this is optional, can be set via ANDROID_HOME property -->
    <property name="home">/home/kpiwko/apps/android-sdk-linux_x86</property>
    <!-- Nexus S -->
    <!-- <property name="serialId">3233E8EDB21700EC</property>-->

    <property name="verbose">true</property>
    <property name="apiLevel">13</property>
    <property name="avdName">SnapshotEnabled</property>
    <property name="emulatorBootupTimeoutInSeconds">180</property>
</extension>

Properties explained, required in bold:

  • home – Android SDK home, can be ommited if set via ANDROID_HOME property
  • avdName – name of the Android Virtual Device. It will be either created or reused
  • apiLevel – (10) denotates API level, use android list target to get more variants
  • serialId – replaces avdName if set and available, represents a real device. Use adb devices to get the list
  • skip – (false) skip execution
  • verbose – (false) be verbose
  • force – (false) force emulator recreationg
  • sdSize – (128M) SD card size for emulator
  • emulatorBootupTimeoutInSeconds – (180) maximal time to get emulator started, use Snapshot enabled device if it takes too long
  • emulatorOptions – emulator options

Emulators are created by default in ${basedir}/${avdName}.

Set up Android Drone in arquillian.xml

<extension qualifier="android-drone">
    <property name="androidServerApk">android-server-2.16.apk</property>
</extension>

Properties explained, required in bold:

  • androidServerApk – path to the Android Server APK you’ve downloaded
  • skip – (false) skip execution
  • verbose – (false) be verbose
  • webdriverPortHost – (14444) port on Host connected with port on device
  • webdriverPortGuest – (8080) port on Guest connected with port on Host

Big thanks go to Jan Papousek (@jan_papousek) for improving and testing this release!

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

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-android-bom pom
  • org.jboss.arquillian.extension » arquillian-android-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-android-configuration jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-android-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-android-spi jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-android-drone jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-android-depchain pom
  • org.jboss.arquillian.extension » arquillian-android-tests jar javadoc pom

Release notes and resolved issues 1

Initial Support for Android via Drone WebDriver

Thanks to the following list of contributors: Karel Piwko, Aslak Knutsen, Jan Papoušek

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

Some of the highlights in this release

Application deployment timeout can be set up by user:

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">

  <container qualifier="openshift">
    <configuration>
      <property name="deploymentTimeoutInSeconds">150</property>
    </configuration>
  </container>

</arquillian>

Improved archive scanning now honors application.xml and jboss-web.xml for figuring out
deployment context root.

Support for deployment of ZipImport’ed archives.

Arquillian OpenShift Express Container no longer requires JBoss Maven Repository.

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 OpenShift Container
Version 1.0.0.Alpha2 view tag
Release date 2012-02-27
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.container

  • org.jboss.arquillian.container » arquillian-openshift-express jar javadoc pom

Release notes and resolved issues 7

Component Upgrade
  • ARQ-787 - Update Arquillian Core and Ajocado dependencies dependencies
  • ARQ-788 - Update JGit and EJB3 API dependencies
Feature Request
  • ARQ-786 - Enable deploymentTimeout for OpenShift containers
Bug
  • ARQ-621 - openshift container - unable to deploy zip assets
  • ARQ-781 - openshift container - improve deployment url detection
  • ARQ-789 - Deployment scanning for JAR archives is broken

Thanks to the following list of contributors: Karel Piwko, Aslak Knutsen, Jan Papoušek, Jozef Hartinger

Very large, active development team

According to ohloh, Arquillian has a very large, active development team. Here’s a summary of the contributor stats that ohloh curated.

Over the past twelve months, 43 developers contributed new code to Arquillian.

This is one of the largest open-source teams in the world, and is in the top 2% of all project teams on Ohloh.

For this measurement, Ohloh considered only recent changes to the code. Over the entire history of the project, 49 developers have contributed.

Thank you all for making this project so successful and fun! Arquillian has a bright future. Above all other awards and recognitions, it’s the number and diversity of contributors that’s the most significant. The smartest one amongst us is all of us, working together.

Cheers!

Arquillian Container JBoss AS 1.0.0.CR3 Released

The Arquillian team is proud to announce the 1.0.0.CR3 release of the Arquillian Container JBoss AS component!

Some of the highlights in this release

JavaHome configuration option now default to the Arquillian running JVM

Add configuration support for portSet to JBoss AS 5.1/6 Managed containers

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">

  <container qualifier="jboss">
    <property name="portSet">ports-01</property>
  </container>

</arquillian>

Setting the portSet will automatically set the http and rmi ports to be use based on the pre defined sets in the JBoss AS configuration.

Add configuration support for partition to JBoss AS 4.2/5.1/6 Managed containers

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">

  <group qualifier="cluster">
    <container qualifier="jboss-1">
      <property name="partition">X-1</property>
    </container>
    <container qualifier="jboss-2">
      <property name="partition">X-1</property>
    </container>
  </group>

</arquillian>

Using the same partition id on a group of containers defined in arquillian.xml will allow them to form a cluster.

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 JBoss AS
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-jbossas-managed-4.2 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-remote-4.2 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-remote-5 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-managed-5.1 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-remote-5.1 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-embedded-6 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-managed-6 jar javadoc pom
  • org.jboss.arquillian.container » arquillian-jbossas-remote-6 jar javadoc pom

Release notes and resolved issues 4

Small bug fix

Feature Request
  • ARQ-476 - Support portOffset in JBoss ContainerConfiguration
  • ARQ-717 - JBoss AS managed containers should support setting partition
  • ARQ-744 - All Managed containers should be able to read JAVA_HOME from current JVM if not defined

Thanks to the following list of contributors: Aslak Knutsen, Davide D'alto, Marek Schmidt