Translating Users’ Stories into Test Cases
A fundamental part of any structured testing is Test Cases, also referred to as Test Scripts. In Chapter 2 – Defining the Approach we learned about how a Test Strategy, Test Plan(s), and Test Cases provide the framework and structure of how testing is approached and delivered. In this section, we are going to explore in more detail how User Stories are translated into Test Cases.
The following diagram shows how Users’ Stories, Acceptance Criteria, and Test Cases relate to each other.
Figure 8.2 – The relationship between the User Story, Acceptance Criteria, and Test Cases
The diagram illustrates that a User Story can have multiple Acceptance Criteria and that Acceptance Criteria can have multiple Test Cases. When preparing Test Cases, there must be at least one Test Case for each Acceptance Criteria.
Test Cases require the following:
- A Test Case reference
- The requirement...