Agile Acceptance Testing Slides
Below are slides I presented at the LJC Unconference on Agile Acceptance Testing with Cucumber, Cuke4Duke, Groovy & Selenium. Download in PDF format.
5 Comments to Agile Acceptance Testing Slides
[...] Richard presented at the LJC Unconference on ‘Agile Acceptance Testing with Cucumber, Cuke4Duke, Groovy & Selenium’ and has posted his slides [...]
Great presentation at LJC and thanks for making your slides available so quickly!
November 17, 2010
Richard, your slides have been really useful to me in getting set up with Cuke4Duke to write WebDriver tests for my application using Groovy. I am still not quite happy with it as a solution though. I haven’t had any luck in working out how to factor out code that is repeated in multiple steps. I saw you asked about the PageObject pattern and this issue on the Google group. Did you ever work it out? Any help will be much appreciated, otherwise I will switch to Java :(
Hi James, funny you should ask this question now. We’ve been struggling with code reuse and a good way to organise the code. The other week I came across Geb http://geb.codehaus.org/ which is a Groovy layer on top of Selenium/WebDriver. It has a neat jQuery like API and great support for the Page Object Pattern. I’m part way through writing up a new post on it so give me a few days and I’ll show you how we are starting to make use of it.
I’ll also be talking about Geb at the London Agile Testing User Group in January if you are in London
http://www.agiletesting.org.uk/january_2011.php
November 18, 2010
Thanks Richard. That looks interesting. I am in Amsterdam so may not make the talk. I see someone has set up an example project for something similar here: https://github.com/geb/geb-example-cuke4duke
If you look in their env,groovy you will see that they have run into another of the problems that I have. I wanted to add an ‘after hook’, where I would get the name of the scenario and check if it failed. Then I could take a screenshot with WebDriver. Unfortunately the groovy methods don’t seem to be bridged properly to the underlying ruby ones.
Something else interesting to note is that the creator of Cucumber and Cuke4Duke is working on a pure Java version of Cucumber because he does most of his development in Java now anyway.
Leave a comment
Subscribe
Recent Posts
Tags
- "Sorry, no matches found for “tdd” near Auckland, New Zealand" http://t.co/Ahc736MX #auckland #whowantstostartonewithme 2 weeks ago
- Great series on the SOLID design principles for JavaScript http://t.co/ELoPuOH2 2 weeks ago
- Auckland devs, what meetups should I be attending? #java #groovy #ruby #javascript #bdd #tdd 2 weeks ago
- More updates...
June 28, 2010