Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To “do discovery”, we use a technique called example mapping that helps us to facilitate a Discovery Workshop. You can get a feel for how this works and learn more about it by watching this Example Mapping Webinar that focuses on this User Story.

At the end of this Discovery Workshop we have created the following example map.

...

We have discussed the user story – our yellow card – and everyone has pretty clear idea about what behaviour the seat booking system needs.

We have discovered three business rules – the blue cards – that we need to implement:

  • Ideally, do not book more than 70% of the seats in carriage

  • Don’t book more than 70% of the available seats on the train

  • Don’t split bookings across carriages

We have discussed some key examples of how the system should behave which they drew using a simple notation during the discovery meeting. These key examples will become the basis of our acceptance tests which we will Formulate in Gherkin.

We update our story issue in Jira to reflect this.

...

Formulation – transforming key examples into business-readable specifications

During our discovery workshop we spent a lot time discussing how the system should behave and we have uncovered some important domain language. As we are a BDD team we now take the time to write up those key examples as scenarios that are written in the language our business stakeholders understand.

One of the developers and one of the testers on our team take this task. You might have seen some teams where the Product Owner or Business Analyst is expected to write Gherkin scenarios but we have found that having members of the delivery team write the scenarios really helps to flush out any misunderstandings.

Cucumber for Jira gives us a place to start drafting our scenarios ready for feedback from the rest of the team. We start by creating a new Jira issue for the feature, label it with BDD_Feature and link it to the story issue.

We can now enable Cucumber for Jira on this issue.

...

This allows us to Create a feature file.

...

The developer and tester on our team pair on formulating these scenarios. They can write the feature file directly in Cucumber for Jira.

As the first step they outline the scenarios they need, and ask our Product Owner for feedback.

...

After some more back and forth and couple of edits to the file the team are happy with scenarios and ready to get started.

...