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

What We Just Learned

It might seem like the system we’ve been building here is just a toy. There aren’t any concrete components that a user could interact with yet: our CashSlot is just a plain old Ruby class, and there aren’t any buttons for the user to push. What we do have, though, are the beginnings of a domain model and a greater understanding of the problem. Outside-in doesn’t always mean starting with the user interface; it means starting with the outside of whatever you want to discover.

We know it is not always possible to work like this. You will often be adding tests to a legacy system or working on a project where the user interface is already well-defined by the time you are asked to develop the code. Even in these situations, ...

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