O'Reilly logo

The Cucumber Book, 2nd Edition by Steve Tooke, Aslak Hellesoy, Matt Wynne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6When Cucumbers Go Bad

When your team first starts to use Cucumber, it won’t be long before you start to notice that you seem to be creating code with fewer bugs than you did before. You might find yourself bravely refactoring code that previously you would have been too scared to touch. You’ll continue adding feature after feature, inspired by the delight you felt on seeing your first passing scenario.

After a while, however, things can start to turn sour. Suddenly it dawns on you that the tests take a really long time to run. Or perhaps you’ve started to notice a couple of scenarios that seem to fail at random, usually just when you’re up against a tight deadline. Perhaps the nontechnical stakeholders have lost interest in the process, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required