Lagerweij Consulting and Coaching | Wouter Lagerweij |
[email protected]
Scenario Writing
To apply some rigour to our examples, to ensure we use the same language, and verify
our understanding, while also allowing us to turn these specifications into executable
tests.
Scenario: Playlist without name is auto-numbered
Given existing Playlists
| My Playlist #1 |
| My Playlist #2 |
When a new playlist without name is added
Then that new playlist is given the name ‘My Playlist #3’
Scenario: Playlist without name gets next available slot
Given existing Playlists
| My Playlist #1 |
| My Playlist #3 |
When a new playlist without name is added
Then that new playlist is given the name ‘My Playlist #2’