Arquillian Droidium 1.0.0.Alpha3 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.Alpha3 release of the Arquillian Droidium component!

While this release is available, it has some serious problems for Windows users. A new release should be available soon.

Known issues

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 Droidium
Version 1.0.0.Alpha3 view tag
Release date 2013-12-03
Released by Karel Piwko
Compiled against

Published artifacts org.arquillian.container

  • org.arquillian.container » arquillian-droidium-container-api jar javadoc pom
  • org.arquillian.container » arquillian-droidium-container-spi jar javadoc pom
  • org.arquillian.container » arquillian-droidium-container jar javadoc pom
  • org.arquillian.extension » arquillian-droidium-multiple-containers jar javadoc pom
  • org.arquillian.protocol » arquillian-protocol-android jar javadoc pom
  • org.arquillian.extension » arquillian-droidium-native-api jar javadoc pom
  • org.arquillian.extension » arquillian-droidium-native-spi jar javadoc pom
  • org.arquillian.extension » arquillian-droidium-native jar javadoc pom
  • org.arquillian.extension » arquillian-droidium-web-spi jar javadoc pom
  • org.arquillian.extension » arquillian-droidium-web jar javadoc pom
  • org.arquillian.droidium.archetype » arquillian-droidium-archetype-native-test jar javadoc pom
  • org.arquillian.droidium.archetype » arquillian-droidium-archetype-web-test jar javadoc pom

Release notes and resolved issues 16

Better integration with Android SDK

Component Upgrade
  • ARQ-1590 - Update JBoss parent to the latest one
Enhancement
  • ARQ-1567 - Explain validation errors in more depth
  • ARQ-1568 - Droidium fails if emulator is about to start and there is not API level 10 and apiLevel is not in config
  • ARQ-1570 - Provide better parsing of ABI in connection with API level for Droidium
  • ARQ-1577 - Do not start Android container when there is not android browser in webdriver extension specified
Feature Request
  • ARQ-1533 - Uninstall packages from device before test when they are already installed
  • ARQ-1547 - Improve the parsing of activities from AndroidManifest.xml of AUT
  • ARQ-1571 - Remove API 10 from default platform
  • ARQ-1580 - Provide better AVD logging information
  • ARQ-1582 - Honor ANDROID_SDK_HOME, deprecate generatedAvdPath
  • ARQ-1584 - Remove duplication from Droidium modules
  • ARQ-1587 - Droidium has to fail when there is already started emulator on the same ports
Bug
  • ARQ-1509 - Arquillian Droidium Multiple Container does not work correctly when used standalone
  • ARQ-1583 - Emulator does not figure out process had died
  • ARQ-1585 - Droidium does not figure out AVD is broken

Thanks to the following list of contributors: Stefan Miklosovic, Karel Piwko

ShrinkWrap 1.2.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.2.1 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.1 view tag
Release date 2013-12-05
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 5

Feature Request
Bug
  • SHRINKWRAP-467 - ShrinkWrapFileSystemProvider NPE
  • SHRINKWRAP-468 - Archive.move() on a directory does not move the files in that directory
  • SHRINKWRAP-469 - ShrinkWrapDirectoryStream.iterator missing IllegalStateException cases
  • SHRINKWRAP-470 - SeekableInMemoryByteChannel.truncate misimplements the contract

Thanks to the following list of contributors: Andrew Lee Rubinger, Michal Matloka, Aslak Knutsen

Arquillian OSGi 2.1.0.CR4 Released

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

The Arquillian team is proud to announce the 2.1.0.CR4 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 2.1.0.CR4 view tag
Release date 2013-11-30
Released by Thomas Diesler
Compiled against

Published artifacts org.jboss.arquillian.protocol

  • org.jboss.arquillian.protocol » arquillian-protocol-osgi jar javadoc pom
  • org.jboss.arquillian.testenricher » arquillian-testenricher-osgi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-osgi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-jbosgi-embedded jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-felix-embedded jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-karaf-embedded jar javadoc pom

Thanks to the following list of contributors: Thomas Diesler

Arquillian Extension JRebel 1.0.0.Alpha1 Released

The Arquillian team is proud to announce the 1.0.0.Alpha1 release of the Arquillian Extension JRebel component!

It’s great that we can write integration tests and that Arquillian can automatically deploy them into a container. However, writing these tests arn’t always that great. It takes precious time to wait for redeploys and often you need to fix datasets (for persistence extension), test logic or the implementation.

The JRebel extension is meant to save developers time. It leverages JRebel to hot deploy classes you have changed. The IDE takes care of recompiling the modified class and all you need to do is rerun the test.

How does JRebel extension avoid redeploys?

It creates a special metadata file for each deployment in target/jrebel-temp directory. When you run your tests it checks for this file. If the file is present then no redeploy happens.

How do I enable the JRebel extension for Arquillian?

All you need to do is add arquillian-jrebel-impl to class path (i.e. as a Maven dependency) and configure your contianer to run with the JRebel agent (I assume you have JRebel installed).

Here is an example configuration for JBoss AS7 bin/standalone.conf:

JAVA_OPTS="-javaagent:%JREBEL_HOME%/jrebel.jar $JAVA_OPTS"

Do I need rebel.xml?

Not neccesarily. Arquillian JRebel Extension can automatically generate rebel.xml based on your archives content. (Note that in cases where you add new class or resource to the archive after deployment: JRebel will most likely not pick it up).

You may of course provide your own rebel.xml and add it to testable archive with ShrinkWrap. If a rebel.xml file is found, the Arquillian JRebel Extension will skip generating it’s own.

Further reading

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 Extension JRebel
Version 1.0.0.Alpha1 view tag
Release date 2013-11-26
Released by Aslak Knutsen
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-jrebel-impl jar javadoc pom

Release notes and resolved issues 5

Feature Request
  • ARQ-892 - Should be able to reference the real disk resources in rebel.xml where applicable
  • ARQ-893 - Should be able to work with EAR, WAR and JARs with rebel.xml files pr module
  • ARQ-894 - Allow developer to provide their own rebel.xml
Bug
  • ARQ-1311 - NPE when using @Deployment(testable=false)

Thanks to the following list of contributors: Bernard Labno, Aslak Knutsen

Arquillian OSGi 2.1.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 2.1.0.CR3 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 2.1.0.CR3 view tag
Release date 2013-11-26
Released by Thomas Diesler
Compiled against

Published artifacts org.jboss.arquillian.protocol

  • org.jboss.arquillian.protocol » arquillian-protocol-osgi jar javadoc pom
  • org.jboss.arquillian.testenricher » arquillian-testenricher-osgi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-osgi jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-jbosgi-embedded jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-felix-embedded jar javadoc pom
  • org.jboss.arquillian.container » arquillian-container-karaf-embedded jar javadoc pom

Thanks to the following list of contributors: Thomas Diesler