Running the Code Examples

This book is full of practical examples, and we encourage you to follow along with them to get the most out of the book. You’ll learn the most if you type them in by hand as you read along, but if you’d prefer, you can always download the code examples from http://pragprog.com/titles/hwcuc/source_code. To run the examples, you’ll need to install the Ruby language itself as well as some additional libraries, which in Ruby are called gems. You can find the full instructions in Appendix 2, Installing Cucumber.

Windows Users

Most of the code examples work just the same on Windows and *nix operating systems. On the rare occasions that they differ, you’ll find the Windows version in a sidebar nearby, with a note in the ...

Get The Cucumber Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.