The Books Store BDD story
Before we start, clone the code that is available at https://bitbucket.org/vfarcic/tdd-java-ch07-books-store. It is an empty project that we'll use throughout this chapter. As with previous chapters, it contains branches for each section in case you miss something.
We'll write one BDD story that will be in a pure text format, in plain English and without any code. That way, all stakeholders can participate and get involved independently of their coding proficiency. Later on, we'll see how to automate the story we're writing.
Let us start by creating a new file called administration.story
inside the stories directory:
We already have the narrative that we wrote earlier, so we'll build on top of that:
Narrative: In order to manage the book store collection efficiently As a store administrator I want to be able to add, update and remove books
We'll be using JBehave format for writing stories. More details regarding JBehave are coming soon. Until then, visit http://jbehave...