Reusable Cucumber Steps

By Zach Moazeni

Mike Swieton recently posted Never say “Click” advocating the use of custom steps over browser-centric ones. I firmly disagree with with the consequences of that strategy.

Stop writing imaginary code.

By Keith Gaddis

One of the hardest aspects of development for me has always been anticipating the code I’m going to need to write to solve a problem. BDD saves me from the hassle.

Practical Cucumber: Stakeholders

By Brandon Keepers

Stakeholders may or may not care about cucumber scenarios, but there is still value in having developers write them.

Practical Cucumber: Organization

By Brandon Keepers

Nobody knows how to organize cucumber features and steps. Every project has it’s own conventions–that is, if it has conventions at all. Here is a pattern that works for us.

Practical Cucumber: Factory Girl steps

By Brandon Keepers

Although they’ve been around for a while, very few people know that factory_girl comes with some really useful cucumber steps.

Practical Cucumber: Scenario-specific steps

By Brandon Keepers

Cucumber steps are meant to be reused. Keep them generic so you don’t have to work too hard.

Practical Cucumber

By Brandon Keepers

We love Cucumber but often see it poorly used and misunderstood. We are beginning a blog series about “Practical Cucumber” to give you tips and tricks and keep you out of a pickle.

Stop lying.

By Keith Gaddis

“I don’t have time to test” seems to be somewhat of a recurring theme in hurried projects. Stop lying to yourself—and your clients.