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 16, Working with Legacy Applications, we’ll talk much more about this.

We covered the basics of creating Jetty applications and testing them using Selenium. Jetty is a lightweight, well-used, standards-compliant servlet ...

Get The Cucumber for Java Book 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.