Skip to Main Content
Cucumber Recipes
book

Cucumber Recipes

by Ian Dees, Matt Wynne, Aslak Hellesoy
February 2013
Intermediate to advanced content levelIntermediate to advanced
272 pages
5h 45m
English
Pragmatic Bookshelf
Content preview from Cucumber Recipes
Recipe 10Add Cucumber to Your Continuous Integration Server

Problem

You want to run your Cucumber tests automatically on a shared machine every time someone on your team checks in a change.

Ingredients

  • Jenkins, the open source continuous integration server[64]

  • The Git version control system[65]

  • Jenkins plug-ins for Git and Rake (installed using the admin tools)

  • A post-commit hook[66] for notifying Jenkins that your source code has changed

  • cURL[67] for interacting with Jenkins from command-line scripts

Solution

In Recipe 9, Run Your Features Automatically with Guard and Growl, we saw how the Guard library can watch the files on an individual developer’s machine and rerun Cucumber tests whenever the source code changes. A continuous ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Cucumber Cookbook

Cucumber Cookbook

Shankar Garg
Basiswissen Softwaretest , 6th Edition

Basiswissen Softwaretest , 6th Edition

Andreas Spillner, Tilo Linz
React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9781941222607Errata