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 15Implement a Wire Protocol Listener

Problem

You want to test software running in an environment that doesn’t have explicit Cucumber support, such as an embedded system.

Ingredients

  • Cucumber’s wire protocol,[92] which specifies how Cucumber can drive software tests over a network

Solution

The Cucumber project supports many programming languages—such as Ruby, Java, and JavaScript—directly. There are no special steps needed to get Cucumber to drive test code written in these languages. Without this support, you’d need to implement your own communication path between Cucumber and your software.

That’s exactly what the wire protocol does. When you start a Cucumber test using the wire protocol, Cucumber connects to your app over TCP and ...

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