08 November 2012

Speed of Cucumber

By day, I work with a framework called GEB, written in Groovy.  By night, I work in my own personal projects in Ruby/Rails and Cucumber.  For test frameworks, I build them in Cucumber.  I've built about 7 different test frameworks in Cucumber.  The latest was on a whim.  After dinner last night, I went to www.beachbody.com the makers of the P90 system, and I decided I'd try and automate their site. 

By the end of the night I had over 100 tests for their navigation.   Not only did I output 100 tests, but these tests work in any browser. 

Here's the tests I wrote last night:
https://github.com/wbwarnerb/cucumber_beachbody/blob/master/features/nav.feature

And here's the code they exercise:
https://github.com/wbwarnerb/cucumber_beachbody/blob/master/features/step_definitions/nav.rb

No comments:

Post a Comment