What We Just Learned

Working outside-in with Cucumber blurs the lines between testing and development. Always be ready to learn something new about the problem domain, whether you’re deciding on the wording in a Cucumber scenario or choosing the parameters for a method. By taking care to craft a clean interface between your tests and the system underneath, you’ll end up with tests that can easily evolve with the system’s changing requirements.

In this chapter, we showed you how to use Cucumber to trap a bug. In Chapter 13, Adding Tests to a Legacy Application, we’ll talk much more about this.

We covered the basics of creating Sinatra applications and testing them using Capybara. There’s a whole chapter specifically on using Capybara, Chapter ...

Get The Cucumber Book, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.