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 8Test Across Multiple Machines with SSH

Problem

You’re testing a complex application, and your tests take a while to complete. You’d like to run your tests in parallel across multiple machines to save overall execution time.

Ingredients

  • Cucumber tags[47] for sorting your features into groups that can be run across multiple machines

  • An SSH client[48] for connecting to the remote machines

  • rsync[49] for copying your Cucumber features to each computer

Solution

We strive to make our Cucumber tests run as fast as possible. But let’s say you’ve optimized everything you can, and your tests still take an hour to run. What can you do?

One approach is to run only a subset of the tests, at least while you’re actively developing a specific ...

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