O'Reilly logo

The Cucumber Book, 2nd Edition by Steve Tooke, Aslak Hellesoy, Matt Wynne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What We Just Learned

With these few examples, you should know enough to start automating tests for your own command-line applications. Let’s review what we have learned:

  • Command-line applications all look the same from the outside, whatever language they’re written in.

  • We can verify that a command-line application prints what we expect it to print.

  • We know how to check that a command-line application exits with a specific exit status.

  • You can create temporary files that the command-line application you are testing can use.

  • Aruba uses an empty, temporary directory for each scenario.

  • Aruba recognizes special tags that let us see more informative output.

  • We can use Aruba to interact with simple command-line applications that ask for user input. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required