O’Reilly news

The Cucumber Book--New from Pragmatic Bookshelf: Behaviour-Driven Development for Testers and Developers

February 1, 2012

The Cucumber Book

Request Review copy

Raleigh, NC—Customers want rock-solid, bug-free software that does exactly what they expect it to do. Yet they can't always articulate their ideas clearly enough for developers to turn their ideas into code.

The Cucumber Book: Behaviour-Driven Development for Testers and Developers (Pragmatic Bookshelf, $30.00 USD) shows you how to develop using Cucumber: it's a testing, communication, and requirements tool all rolled into one.

Authors Matt Wynne and Aslak Hellesøy show you how to express your customers' wild ideas as a set of clear, executable specifications that everyone on the team can read.

You can use Cucumber to test almost any system, from a simple shell script or Perl script, to web applications written in PHP, Java, or any platform.

In Part 1 of The Cucumber Book, you'll get started by using the core features of Cucumber and working with Cucumber's Gherkin DSL to describe—in plain language—the behavior your customers want from the system. Then you'll write Ruby code that interprets those plain-language specifications and checks them against your application. If you're new to Cucumber, this part of the book will teach you everything you need to know to get started.

In Part 2, you'll consolidate the knowledge you've gained with a worked example, where you'll learn more advanced Cucumber techniques. You'll also learn how to test asynchronous systems and systems that use a database.

In Part 3, you'll find a selection of recipes for some of the most difficult and commonly seen situations the authors have helped teams solve. With these patterns and techniques, you'll learn how to test Ajax-heavy web applications with Capybara and Selenium, REST web services, Ruby on Rails applications, command-line applications, legacy applications, and more.

Written by the creator of Cucumber and one of its most experienced users and contributors, The Cucumber Book is an authoritative guide that will give you and your team all the knowledge you need to start using Cucumber with confidence.

Available in epub, mobi, and PDF direct from the publisher and in paperback from fine bookstores worldwide.

What People are Saying

Few tools have managed to bridge the developer-customer divide as well as Cucumber has. Cucumber is not a tool for testing applications. Cucumber is a philosophy for communicating requirements. This book brings that philosophy to life. —Robert C. Martin (Uncle Bob)

I devoured the Cucumber book...what a gift. I recommend this book to everyone working with Cucumber. —J. B. Rainsberger, Author, JUnit Recipes

Reading this book is like having Aslak and Matt sitting next to you, patiently helping you through your first project with Cucumber. —George Dinwiddie, Software development coach, iDIA Computing, LLC

For a review copy or more information please email pragprogpr@oreilly.com. Please include your delivery address and contact information.

About the Authors

Matt Wynne works as an independent consultant, helping teams like yours learn to enjoy delivering software to the best of their abilities. In his spare time he is a core developer on the Cucumber project, and he blogs at http://blog.mattwynne.net and tweets as @mattwynne

View Matt Wynne's full profile page.

Aslak Hellesøy is the founder of the Cucumber project and works as a senior developer with DRW Trading in London, writing very fast and very smart software in several different programming languages. In his previous job he was the Chief Scientist of BEKK Consulting in Norway. Aslak tweets as @aslak_hellesoy.

View Aslak Hellesøy's full profile page.

Additional Resources
For more information about the book, including: code, errata, discussions, full table of contents, excerpts from the book and more, see the catalog page for The Cucumber Book: Behaviour-Driven Development for Testers and Developers.

The Cucumber Book The Cucumber Book
Publisher: Pragmatic Bookshelf
By Matt Wynne, Aslak Hellesøy
Print ISBN: 9781934356807  
Pages: 250 (est.)
Print Price: $30.00  
order@oreilly.com
1-800-998-9938
1-707-827-7000

Request Review copy

About Pragmatic Bookshelf
Pragmatic Bookshelf is an imprint of the Pragmatic Programmers, LLC. Our titles are distributed to bookstores internationally by O'Reilly Media.

The Pragmatic Bookshelf features books written by developers for developers. The titles continue the well-known Pragmatic Programmer style, and continue to garner awards and rave reviews. As development gets more and more difficult, the Pragmatic Programmers will be there with more titles and products to help programmers stay on top of their game.

About O’Reilly

O’Reilly Media spreads the knowledge of innovators through its books, online services, magazines, and conferences. Since 1978, O’Reilly Media has been a chronicler and catalyst of cutting-edge development, homing in on the technology trends that really matter and spurring their adoption by amplifying “faint signals” from the alpha geeks who are creating the future. An active participant in the technology community, the company has a long history of advocacy, meme-making, and evangelism.

Email a link to this press release