Chapter 2
First Taste

We figured you’d be eager to start playing with your shiny new toy right away, so we’re going to work through a simple example that will give you a feel for what it’s like to work with Cucumber. You might not quite understand everything that happens here just yet, but try not to let that worry you. We’ll come back and fill in the details over the next few chapters.

We’re going to build a simple command-line application from the outside-in, driving our development with Cucumber. Watch how we proceed in very small baby steps, going back to run Cucumber after we make each change. This patient rhythm is an important characteristic of working effectively with Cucumber, but it’s much easier to demonstrate than to explain.

Assuming you want to follow along with the action in this chapter (it’ll be a lot more fun if you do), you’ll need to have Cucumber installed. If you haven’t already done so, see Appendix 2, Installing Cucumber for installation instructions.

Right...shall we get started then?

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.135.200.14