small medium large xlarge

Cucumber Recipes: Automate Anything with BDD Tools and Techniques now in beta

August 15, 2012

The Olympics are over, and copious amounts of internet bandwidth are now freed up for other purposes. If you wrote a lot of code with one eye on the Olympic games, you might want to think about some testing now ;)

Which brings us to this week’s new book, Cucumber Recipes: Automate Anything with BDD Tools and Techniques. Use Cucumber to power up your career! And read on below about Mr. Toad’s Wild Ride and Seven Databases.

Please note our ebooks do not contain any Digital Restrictions Management, and have always been DRM-free. The folks over at the Free Software Foundation are helping us promote DRM-free books with their Defective by Design campaign.

And remember we pioneered the “beta book” concept; we’ll email your ebook to your Kindle and synch your ebooks amongst your devices via Dropbox, including updates! (see our FAQ); read via Readmill, for social highlighting and sharing; and you can always come back and re-download your books when needed. We’re here to make your life easier.

Cucumber Recipes

Once you’ve mastered the basics, this book will show you how to get the most out of Cucumber, from specific situations to advanced test-writing advice. With over forty practical recipes, it gives you tools that you can use today to automate any system that you encounter, and do it well.

Our first tips will help you fit Cucumber into your workflow. Powerful filters will tame tables full of test data, transforming them into the format your application needs. Custom output formatters will generate reports for any occasion. Continuous Integration servers will run your Cucumber tests every time the code changes. Next, you’ll find recipes tailored to the platform you’re running on. Ever wanted to know how to test a Grails app from Cucumber? Need to put a Windows program through its paces? How about a mobile app running on Android or iOS? We’ll show you how to do all of these.

Throughout the book, you’ll see how to make Cucumber sing as you interoperate with different platforms, languages, and environments. From embedded circuits to Python and PHP web apps, Cucumber has something for you.

Now available in beta from

Table of contents:

Cucumber Techniques

  • Compare and Transform Tables of Data
  • Generate an RTF Report With a Custom Formatter
  • Run Slow Setup/Teardown Code With Global Hooks excerpt
  • Refactor to Extract Your Own Application Driver DSL
  • Compare Images
  • Test Across Multiple Cores
  • Test Across Multiple Machines With SSH
  • Run Your Features Automatically With Guard and Growl
  • Add Cucumber To Your Continuous Integration Server
  • Publish Your Documentation on Relish
  • Drive Cucumber’s Wire Protocol
  • Implement a Wire Protocol Listener
  • Use Cucumber Directly With JRuby
  • Use Cucumber With Java Via Cucumber-JVM excerpt
  • Drive a Spring Model
  • Drive Hibernate Persistence
  • Drive a Grails Appa
  • Test Scala Code
  • Test Clojure Code
  • Drive a Swing Interface With Marathon
    .NET and Windows
  • Get Good Text Output On Windows
  • Test .NET Code Using Cucumber Syntax
  • Drive a Windows App Using win_gui
  • Drive a Windows App Using White
    Mobile and Web
  • Test On iOS Using Frank
  • Test On Android
  • Test Across Multiple Mobile OSes With Calabash
  • Test On Windows Phone
  • Parse HTML Tables excerpt
  • Drive JavaScript / CoffeeScript Using Cucumber-JS
  • Test a Web App Using Watir
  • Test a PHP App With cuke4php
  • Play Back Canned Network Data Using VCR
  • Drive a Flash App Using Cuke4AS3
  • Monitor a Web Service Using Nagios and Cucumber
    Other Languages and Platforms
  • Drive a Mac GUI Using AppleScript and System Events
  • Drive a Mac GUI Using MacRuby and AXElements
  • Test Python Code Using Lettuce
  • Test Erlang Code
  • Test Lua Code Using cucumber-lua
  • Test a GUI on Linux, Mac, or Windows With Sikuli
  • Test an Arduino Project Using Serial
    RSpec Tutorial

Mr. Toad’s Wild Ride

Reader Jeffrey Newman wrote in to tell us about reading Seven Databases in Seven Weeks:

“I have been working with SQL for about 17 years. I thought I knew what I was doing. At first, as I was reading Seven Databases in Seven Weeks I thought, “what the hell are they doing here?” But the more I read, the more I liked it.

“Then I realized, it was a fun read. For a technical book, this is very rare. Then it hit me. Reading this book was like going on “Mr. Toad’s Wild Ride” at Disney Land. There were turns and twists; you never knew what was around the next corner, but it is/was a lot of fun."

So fire up your blacklights, spin your chair around, and have some real database fun!

Don’t Get Left Out

Are your friends jealous that you get these spiffy email newsletters and they don’t? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

Are you following us on Twitter and/or Facebook? Here’s where you can find us and keep up with the latest news and commentary:

Coming Soon:

  • Rapid Android Development: Build Rich, Sensor-Based Applications with Processing in beta
  • Explore It! Reduce Risk and Increase Confidence with Exploratory Testing in beta
  • Outsource It! A No-Holds-Barred Look at the Good, the Bad, and the Ugly of Offshoring Tech Projects in beta

Recently Released:

  • Raspberry Pi [now available]
  • Hands-on Backbone.js [video]
  • Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night [in print]
  • Deploying with JRuby: Deliver Scalable Web Apps using the JVM [in print]
  • Thanks for your continued support,

    Dave & Andy

    Books • eBooks • Screencasts • PragPub Magazine