Announcing Cucumber Recipes

You can test just about anything with Cucumber—we certainly have! See how to test desktop, web, mobile, and server applications across a variety of platforms. We’ll arm you with ready-rolled solutions to real-world problems: your tests will run faster, read more clearly, and work in any environment.

See below for the table of contents, or read the Pragmatic Programmers release announcement for more information.

Table of Contents

Cucumber Techniques

  1. Compare and Transform Tables of Data
  2. Generate an RTF Report With a Custom Formatter
  3. Run Slow Setup/Teardown Code With Global Hooks excerpt
  4. Refactor to Extract Your Own Application Driver DSL
  5. Compare Images
  6. Test Across Multiple Cores
  7. Test Across Multiple Machines With SSH
  8. Run Your Features Automatically With Guard and Growl
  9. Add Cucumber To Your Continuous Integration Server
  10. Publish Your Documentation on Relish
  11. Drive Cucumber’s Wire Protocol
  12. Implement a Wire Protocol Listener


  1. Use Cucumber Directly With JRuby
  2. Use Cucumber With Java Via Cucumber-JVM excerpt
  3. Drive a Spring Model
  4. Drive Hibernate Persistence
  5. Drive a Grails Appa
  6. Test Scala Code
  7. Test Clojure Code
  8. Drive a Swing Interface With Marathon

.NET and Windows

  1. Get Good Text Output On Windows
  2. Test .NET Code Using Cucumber Syntax
  3. Drive a Windows App Using win_gui
  4. Drive a Windows App Using White

Mobile and Web

  1. Test On iOS Using Frank
  2. Test On Android
  3. Test Across Multiple Mobile OSes With Calabash
  4. Test On Windows Phone
  5. Parse HTML Tables excerpt
  6. Drive JavaScript / CoffeeScript Using Cucumber-JS
  7. Test a Web App Using Watir
  8. Test a PHP App With cuke4php
  9. Play Back Canned Network Data Using VCR
  10. Drive a Flash App Using Cuke4AS3
  11. Monitor a Web Service Using Nagios and Cucumber

Other Languages and Platforms

  1. Drive a Mac GUI Using AppleScript and System Events
  2. Drive a Mac GUI Using MacRuby and AXElements
  3. Test Python Code Using Lettuce
  4. Test Erlang Code
  5. Test Lua Code Using cucumber-lua
  6. Test a GUI on Linux, Mac, or Windows With Sikuli
  7. Test an Arduino Project Using Serial

Published: August 15 2012