This blog has been archived. Our writing has moved to makandra cards.
The blog of , a Ruby on Rails development team

Never write a Cucumber step definition again with Cucumber Factory

I love Cucumber, but I hate writing step definitions. They are ugly, awkward to write and very, very boring: Most step defintions merely create objects for a scenario to chew on.

Eventually we created Cucumber Factory so we would never have to write that sort of step definition again. Cucumber Factory takes this scenario line:

Given there is a movie with the title "Sunshine" and the year "2007"

And transforms it into this:

Movie.create(:title => "Sunshine", :year => "2007")

Cucumber Factory comes with many little helpers to deal with complex cases, while always looking awesome. It also plays nice with your Machinist or Factory Girl.

Check out Cucumber Factory on GitHub.

Growing Rails Applications in Practice
Check out our e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Recent posts

Our address:
makandra GmbH
Werner-von-Siemens-Str. 6
86159 Augsburg
Germany
Contact us:
+49 821 58866 180
info@makandra.de
Commercial register court:
Augsburg Municipal Court
Register number:
HRB 24202
Sales tax identification number:
DE243555898
Chief executive officers:
Henning Koch
Thomas Eisenbarth