Session_19

XP Day 2003 logo

Building your own AT framework


Organiser: SeanHanly

Session duration: 90 minutes

Session type: Interactive Presentation / Demo with Audience Participation

Intended Audience: anyone who is interested in sharing experiences on how to implement “automated acceptance testing” for a software development project. While the presentation is intended on having a broad appeal the session should be of particular interests to Customers, Testers and Developers.

Session language: English


Description:

When introduced to the concept of automated acceptance testing, especially driving development from this perspective, most people get it straight away. However, this enthusiasm tends to be short-lived and is followed by numerous questions of the type:

  • "yes that looks really cool, but I bet it took weeks to create the framework..."
  • "but we couldn’t possibly write an automated framework for our legacy ABC system written in VAX basic..."
  • "we already have a record/playback tool that we use for testing and surely that would suffice"
  • "our customers / testers would never have the time or inclination to write the tests"
  • etc...
In this workshop Sean Hanly will address these questions and others based on his experience in using and implementing acceptance-testing frameworks for several projects. This workshop will be broken up into two parts. The first will take the form of a presentation that is built around sharing experience and in particular addressing the questions/issues that frequently crop up when people look at implementing acceptance-testing frameworks. In the second part an interactive demo will show how acceptance-testing driven software development looks in practice.

Process

  • Part 1
The first half of the presentation will be focused around addressing the questions from above:

"Story of a Story" – Real life demonstration of an automated acceptance testing framework and the history of this framework

  • Exploring Acceptance Testing Challenges
  • Automated Acceptance Testing Patterns
  • Automated Acceptance Testing Frameworks
  • Part 2
This second part of the workshop will be done as an interactive session. The purpose is to demonstrate automated acceptance testing in action by working directly with the audience in:

  • introducing an existing system through automated acceptance tests
  • exploring some new requirements in the form of user stories
  • defining the acceptance tests for these requirements
  • extending the acceptance testing framework based on the requirements
  • and finally implementing some of these requirements through test driven development
The intention is to demonstrate to the audience the full life cycle of a requirement from initial presentation through requirements definition in the form of acceptance tests and finally the implementation of these requirements through test driven development.


See the Presentation slides and the demo code