Arquillian AngularJS 1.2.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.2.0.Alpha1 release of the Arquillian AngularJS component!

New Arquillian Extension for AngularJS!

This is the first release of a new Arquillian Extension for use with AngularJS. Initially we’re providing extensions to Arquillian Graphene, but we’re interested in hearing your ideas for other possible extensions to the Arquillian universe for AngularJS testing.

It might seem odd that the first release of a completely new extension is 1.2.0.Alpha1, but we’re intending to tie the releases of this extension to the minor releases of AngularJS. What that means is that this release will be compatible with 1.2.x versions of AngularJS. Whether the extension is compatible with versions of AngularJS outside 1.2.x depends on the extent that we have depended on AngularJS internal APIs that were either not present in previous versions, or removed in future ones.

Graphene enhancements for AngularJS

  • WebDriver event synchronization
  • @FindByNg selectors (see below)

@FindByNg Selectors

With this first release, we support the following use of @FindByNg:

  • Model bindings – @FindByNg(model = "..")
  • Button, link or form actions – @FindByNg(action = "..")
  • Repeated DOM blocks – @FindByNg(repeat = "..")

Here’s an example of these in use:

@RunWith(Arquillian.class)
@RunAsClient
public class AngularTest {

    ..

    @FindByNg(model = "todo.done")
    List<WebElement> todos;

    @FindByNg(model = "todoText")
    WebElement todoEntry;

    @FindByNg(action = "archive()")
    WebElement archive;

    @FindByNg(action = "addTodo()")
    WebElement addTodo;

    @FindByNg(repeat = "todo in todos")
    List<WebElement> todoRepeat;

    @Before
    public void loadPage() {
        browser.navigate().to(contextRoot + "index.html");
    }

    @Test
    public void testNumberOfTodos() {
        assertEquals(2, todos.size());
    }

    @Test
    public void testArchive() {
        assertEquals(2, todos.size());
        archive.click();
        assertEquals(1, todos.size());
    }

    @Test
    public void testAddTodo() {
        assertEquals(2, todos.size());
        todoEntry.sendKeys("This is a new TODO item");
        addTodo.submit();
        assertEquals(3, todos.size());
    }

    @Test
    public void testRepeater() {
        assertEquals(2, todoRepeat.size());
        WebElement secondRow = todoRepeat.get(1);
        WebElement checkbox = secondRow.findElement(By.tagName("input"));
        WebElement todoItem = secondRow.findElement(By.tagName("span"));
        assertEquals("second todo", todoItem.getText());

        checkbox.click();
        archive.click();

        assertEquals(0, todoRepeat.size());
    }
}

We hope that you’ll enjoy our new stuff and look forward to hear your feedback 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 AngularJS
Version 1.2.0.Alpha1 view tag
Release date 2014-05-05
Released by Ken Finnigan
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-angularjs-graphene pom
  • org.jboss.arquillian.extension » arquillian-angularjs-graphene-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-angularjs-graphene-impl jar javadoc pom

Release notes and resolved issues 0

First Alpha for support for Angular 1.2

Thanks to the following list of contributors: Ken Finnigan, Lukas Fryc

Arquillian Drone Extension 2.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 2.0.0.Alpha1 release of the Arquillian Drone Extension component!

New ways to use Drone

Drone 2.0.0.Alpha1 is the first release of the Drone overhaul. We are aiming to provide you better support for:

  • extending Drone with new browser life cycles, such as one browser per test suite
  • smoother and easier integration with existing and future extensions
  • support for Drones bounded to deployments
  • and much more

Removing legacy and obsolete code from Drone

Since the Drone project started more than 3 years ago, some of the configuration options has changed and some of the features are now available as part of Arquillian Core.
The following code will be removed from Drone 2.x during the Alpha releases:

  • removing support for system properties (now directly available from Arquillian Core)
  • using capability based configuration (removing deprecated properties)
  • removing support for Selenium 1 and Graphene 1 (following Selenium project)
  • changing Drone events to support command pattern and to rely on Drone context
  • removing @Deprecated code

What Drone version should I use?

If you want a stable version, go with 1.3.0.Final. If you need to run tests on mobile devices, keep using 1.2.4.Final. We’ll be releasing Droidium based on the Drone 2.x stream soon to close the gap. However, if you like living on the edge, try Drone 2.0.0.Alpha1 and let us know how it works for you.

I’d like to thank Tadeáš Kříž. He’s our hero for this release, as he implemented most of the overhaul!

We hope that you’ll enjoy our new stuff and look forward to hear your feedback 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 Drone Extension
Version 2.0.0.Alpha1 view tag
Release date 2014-04-02
Released by Karel Piwko
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-drone-bom pom
  • org.jboss.arquillian.extension » arquillian-drone-webdriver-depchain pom
  • org.jboss.arquillian.extension » arquillian-drone-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-spi jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-configuration jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-selenium-server jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-webdriver jar javadoc pom

Release notes and resolved issues 5

Introducing more flexible scopes

Enhancement
  • ARQ-1707 - Provide better timeout exception message
Task
  • ARQ-1669 - Remove temporary workaround for Executor Service
  • ARQ-1688 - Drop Selenium 1.0 support
  • ARQ-1700 - Provide Deployment scope support for Drone
  • ARQ-1708 - Remove legacy configuration

Thanks to the following list of contributors: Tadeas Kriz, Karel Piwko

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

Arquillian Droidium 1.0.0.Alpha5 is packed with bugfixes, updates and it has integrated with various other Arquillian extensions.

Extension integration

Droidium now profits from the Arquillian Spacelift extension that provide a robust way of dealing with execution of external binaries and applications. In Droidium, we use it to handle the execution of all Android-related binaries.

We also have created a Arquillian Droidium Screenshooter extension which builds on top of the Arquillian Reporter extension. If you have Arquillian Reporter extension on class path, you can generate reports for your (mobile) test runs very easily and export them in a lot of different formats like XML, JSON, HTML or even Asciidoctor.

It is recommended to use Selendroid server of version 0.9.0 and Android SDK 22.6.2.

Next stop, Beta

Arquillian Droidium 1.0.0.Alpha5 is the last Alpha release before reaching Beta stage. Starting with Beta1, you can expect experimental support for Arquillian Drone 2.0.0.Alpha1, removal of web plugin which depends on the deprecated Selenium Android server APK, that will be replaced by the Selendroid’s Android driver. It will also be updated to use Selenium 2.40 from current 2.39.

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.Alpha5 view tag
Release date 2014-03-31
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
  • org.arquillian.extension » arquillian-droidium-screenshooter jar javadoc pom

Release notes and resolved issues 11

Screenshoter and Google API support

Component Upgrade
  • ARQ-1727 - Update to Android SDK 22.6.2 as default supported Android SDK
  • ARQ-1731 - Bump to Shrinkwrap 1.2.2 and ddmlib 22.7.2
  • ARQ-1734 - Update Droidium to use Arquillian Core 1.1.4
Enhancement
  • ARQ-1711 - Unclear message if activity is not found
  • ARQ-1714 - Merge release profile to default profile
Bug
  • ARQ-1534 - There is no way how to set server port of Android Debug Bridge
  • ARQ-1713 - Not possible to set Google API level
  • ARQ-1730 - Repair unlocking of Android emulator
Task
  • ARQ-1671 - Integrate screenshooter implementation to Droidium
  • ARQ-1721 - Update ddmlib for Droidium to 22.7.1

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

Graphene 2.0.2.Final Released

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

The Arquillian team is proud to announce the 2.0.2.Final release of the Graphene 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 Graphene
Version 2.0.2.Final view tag
Release date 2014-03-19
Released by Lukas Fryc
Compiled against

Published artifacts org.jboss.arquillian.graphene

  • org.jboss.arquillian.graphene » graphene-parent pom
  • org.jboss.arquillian.graphene » graphene-webdriver pom
  • org.jboss.arquillian.graphene » arquillian-graphene pom
  • org.jboss.arquillian.graphene » graphene-webdriver-spi jar javadoc pom
  • org.jboss.arquillian.graphene » graphene-webdriver-api jar javadoc pom
  • org.jboss.arquillian.graphene » graphene-webdriver-impl jar javadoc pom

Release notes and resolved issues 4

Component Upgrade
  • ARQGRA-428 - Upgrade Arq Core to 1.1.3 and Drone to 1.3.0
Bug
  • ARQGRA-422 - Regression in request guard
  • ARQGRA-424 - Graphene is not able to find ParametrizedType deeper in class hierarchy
  • ARQGRA-429 - Graphene should not use selenium-bom (inherited from Drone) + get rid of AndroidDriver dependency

Thanks to the following list of contributors: Stefan Miklosovic, Lukas Fryc, Petr Mensik, Juraj Huska, Arquillian

Arquillian Drone Extension 1.3.0.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.3.0.Final release of the Arquillian Drone Extension component!

Removal of mobile related capabilities

In Arquillian Drone 1.3.0.Final we’ve upgraded to use Selenium 2.40.0. While the new version of Selenium brings you support for the latest browsers, it also dropped support for the android and iphone drivers. This change also effect Graphene, so make sure that you use Graphene 2.0.2.Final together with Drone 1.3.0.Final.

The android gap left by Selenium will be closed in a future release of Arquillian Drodium, where we will add test support for all native, hybrid and mobile web applications. Closing the iphone gap will unfortunately take us a little bit longer.

If you need to test on mobile devices, please keep using Arquillian Drone 1.2.4.Final. If you want the latest and greatest stuff for desktop browsers, go for Drone 1.3.0.Final.

We hope that you’ll enjoy our new stuff and look forward to hear your feedback 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 Drone Extension
Version 1.3.0.Final view tag
Release date 2014-03-13
Released by Karel Piwko
Compiled against

Published artifacts org.jboss.arquillian.extension

  • org.jboss.arquillian.extension » arquillian-drone-bom pom
  • org.jboss.arquillian.extension » arquillian-drone-selenium-depchain pom
  • org.jboss.arquillian.extension » arquillian-drone-webdriver-depchain pom
  • org.jboss.arquillian.extension » arquillian-drone-api jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-spi jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-configuration jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-impl jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-selenium-server jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-selenium jar javadoc pom
  • org.jboss.arquillian.extension » arquillian-drone-webdriver jar javadoc pom

Release notes and resolved issues 3

Maintenace release without iOS and Android Drivers

Component Upgrade
Bug
  • ARQ-1576 - RuntimeException after testng suite switched

Thanks to the following list of contributors: Karel Piwko