|
|
London Ruby User Group:Cucumber, Celerity, & FireWatir
Cucumber, Celerity, & FireWatir
Aidy Lewis is a software tester who uses Ruby for Story Testing, FireWater as an in-browser test tool, Celerity as a headless browser test tool and Cucumber as a framework for Behaviour Driven Development (BDD). Aidy prefers the term Story Driven Development (SDD) over BDD as it is the language of the customer. Cucumber is an opensource tool largely written by Norwegian developer Aslak Hellesoy. It is a re-write of Dan Norths Rspec Story Runner. Cucumber works by parsing a natural language and treating it as real code, thereby improving communication between various stakeholders.
The customer 'stories' are called Features for the coding stage. Features consist of a title, a brief narrative, and an arbitrary number of scenarios. The title and narrative are written in free form. The title and narrative are judged to have been satisfied by writing an acceptance criteria specified as a scenario. The scenario is broken down into a pre-requisite ('given'), an interaction with the system ('when'), and verification of the outcome ('then').
Aidy uses FireWatir, a subset of Watir which wraps Ruby around Javascript that invokes the DOM. An xpi is required which is available online. Celerity is the preferred test tool as it is API compatible with Watir. Also, with so many acceptance tests to run, Celerity is faster than a web browser. Following this, Adrian Longley, a web developer, demonstrated SDD by developing an application in real time.
ABOUT AIDY LEWIS
|
Aidy is an Agile automated acceptance and performance tester with over 10 years experience with a penchant for dynamic languages and open-source tools. Currently working for a large organisation based in London
using Ruby, Watir, SoapUI and JMeter.
More about Aidy Lewis
|
ABOUT THE LONDON RUBY USER GROUP
|
LRUG is the London Ruby User Group; a community of ruby developers based in and around London. We meet up at least once a month; on the 2nd Wednesday of the month we have meetings with talks, demos and such-like and then we have pub-based meetups organised on an ad-hoc basis (roughly half-way between meetings).
More about the London Ruby User Group
|
|
PODCAST CUCUMBER, CELERITY,
This session took part at the LRUG March. You can view the other 1 podcast here.
|
|
|