...
Let's take a look at how you might build a simple application from scratch using BDD, Cucumber and Cucumber for Jira.
The application
… to be done
Getting started
Our first story
Example mapping
...
Here we are, first day on a new project. We work for NorthSouth Rail. Currently our customers are able to buy their tickets in advance but they are not guaranteed a seat at busy times. In order to encourage people to purchase their tickets in advance the company would like to allow these customers to book their seats at the time they purchase their tickets.
Getting started
Info |
---|
This tutorial assumes you have a basic knowledge of using Jira and have already installed Cucumber for Jira on your Jira instance. |
Our team kick off with a workshop to make sure that we all understand what we are working on. We talk about the possibilities and what we need to get started and decide to start with three stories that we think will provide customers with a usable experience.
Allocate booked seats automatically
Indicate reserved seats in carriages
Customer chooses from available seats
Let's create a new project in Jira and add the stories to our board.
...
How we work
As we are a BDD team, our day-to-day work essentially consists of three practices:
Discovery: First, take a small upcoming change to the system – a User Story – and talk about concrete examples of the new functionality to explore, discover and agree on the details of what’s expected to be done.
Formulation: Next, document those examples in a way that can be automated, and check for agreement.
Automation: Finally, implement the behaviour described by each documented example, starting with an automated test to guide the development of the code.
Our First User Story – Discovery
It’s time to get started so we pull our first story – Allocate booked seats automatically – into discovery.
...
Example mapping
To “do discovery”, we use a technique called example mapping that helps us to facilitate a Discovery Workshop.
...