Acceptance Test Driven Development (ATDD) with Robot Framework

Executable requirements neatly combine two important XP practices: user stories and acceptance testing. They enhance communication, ease following the number of running tested features during an iteration, and work as regression tests in future iterations. This workshop gives an introduction to this important process and also shows how it is used in developing a realistic system. Participants can also join the fun and get real hands-on experience. Requirements in general, and executable requirements in particular, are important for all project members (customers, developers, testers, ...) and this workshop has something to offer to all these stakeholders. The workshop is suitable for both practitioners and beginners. Beginners will get a deep introduction of executable requirements and see how the process works. Practitioners can deepen their knowledge, share their experiences and learn from others. Workshop starts with a short introduction of executable requirements and Acceptance Test Driven Development (ATDD) process. The ATDD workflow, Discuss?Develop?Deliver, is explained to provide frame for rest of the session. Additionally Robot Framework, the tool that is used to automate executable requirements, is briefly introduced. The hands-on part starts by introducing an existing, partially complete application which will be developed further during a mini-iteration. Existing acceptance tests and the development environment are introduced to show how development has been conducted earlier. We will also briefly discuss version control and continuous integration, two important pieces of the whole ATDD workflow, and participants will see these tools also in action. The actual hands-on iteration begins with the Discuss phase. The target is to gain collaborative understanding about what we want to build and document that as executable examples. This is the most important phase of the ATDD process and also the most important learning possibility in this tutorial. In the Development phace the participants automate the executable examples using Robot Framework together with the organizers. The organizers act as developers and are responsible for implementing the new features. Although we use Robot Framework for automation, everything related to ATDD process itself is generic. Learnings from this tutorial are thus applicable when using other acceptance testing tools such as Cucumber, FitNesse, TextTest, or Concordion. No previous experience about ATDD or Robot Framework is expected, but basic understanding of Agile practices is assumed.

Type: Tutorial

Author: Michael Feathers

Duration: 4 hours

When: 13 of May at 9:00

Where: Prisma meeting room