Automated acceptance testing for Eclipse applications with Jubula

Session Type: 
Tutorial [3.5 hours]

Schedule info


Prepare for the tutorial: Read this information to get all you need for the tutorial in advance.

This tutorial provides a hands-on introduction to writing acceptance tests with the Eclipse Jubula project.

Testing an application as your customer will see and use it is hugely important, yet all too often forgotten. Test automation enjoys success at the JUnit / API level, but these tests don’t tell us whether our customer can actually perform their workflows and use the software as they intended.

Acceptance testing tends to get left until the last minute, and is then rushed through. Any results it gives us generally come too late to really do anything about them. This is a shame, because it translates to ignoring our customers until it is too late.

Faced with constantly changing software, it is understandable why no-one wants to manually re-execute acceptance tests every day. By automating these tests though, we can gain valuable feedback about the quality of the application from the customer perspective as often as we need it, giving us the chance to adapt and fix to make things better.

The success of automating acceptance tests through the GUI is dependent on their ability to be flexible and robust. It’s also an advantage if they can be written early (even before the application is available) and by the whole team (not just by members who are expert programmers).

This tutorial introduces participants to the Jubula project with hands-on exercises. The Jubula project is aimed at testers who want to automate their black-box tests for Swing, SWT/RCP and GEF applications. The keyword-driven approach lets testers design, automate and maintain tests by dragging and dropping from a library of test actions. Test creation is quick and code-free, tests are easy to read, and the modular structure makes them easy to maintain (despite changes in the application’s GUI).

This tutorial is aimed at testers, developers and test managers who are interested in functionally testing their applications. We’ll cover test creation, execution and analysis with Jubula for an example Eclipse application and talk about test design for flexibility and maintenance.

Participants should come with a laptop where Jubula is already installed.

Jubula tutorial at EclipseCon 2011

An earlier version of this tutorial was given at EclipseCon 2011. There were around 80 participants in the room, a total of 53 votes given: forty-six +1, one -1 and six 0 votes. According to an unofficial rating, the Jubula tutorial came joint fourth in the top five tutorials of EclipseCon 2011.

Structure of the tutorial

With the added time at EclipseCon Europe, we will have the opportunity to look at more aspects of the tool such as Event Handling, which had to be left off at EclipseCon.

The tutorial will be structured as follows:

  • Introduction, setup and installation
  • Short overview of concepts and brief demonstration
  • Exercise 1: Running an existing test
  • Exercise 2: Creating a new test
  • Exercise 3a: Dealing with errors: Analyzing errors in interactively started tests
  • Exercise 3b:: Dealing with errors: Using Event Handlers to "rescue" tests

Should there be enough time, we will also look at starting tests from the command line / integrating Jubula into continuous build processes, and how Jubula can be extended to support new components and actions.


No problem ;)

No problem ;)

Oh, of course. I read to many

Oh, of course. I read to many submissions in the last few days I guess :-)

Hi Bernd, The tutorial was

Hi Bernd,

The tutorial was accepted as an early bird, so I think its slot is already secure / it doesn't need to be considered as requiring another slot.


We have very few tutorial

We have very few tutorial slots. Could you do an introduction to jubula in a standard talk as well?