Composing complex scenarios
Now that we have outlined what can make a scenario complex, it will be very practical to describe how we could compose complex scenarios enabling us to handle them efficiently and effectively. One after the other, the following are the hurdles to take to help you to get there:
- Before a feature is being implemented, a test plan should be in place, detailed out in a test design, and reviewed by the team, as was discussed in Chapter 5, Test Plan and Test Design. Well-thought-out ATDD definitions will save a lot of work downstream.
- Describe the data setup – the ATDD GIVEN parts – for your complex scenario, efficiently and effectively making use of a common language (see Chapter 5).
Remove unneeded details and unveil missed details by team review.
In this, make a clear split between this part – data setup – and the next – exercise. Determine what are the preparatory, data setup, steps needed to get the code under test...