To structure the link between feature stories and TDD before coding, we design APIs that follow the principles of Test-Driven Development (TDD). Here is a high-level API design we adopt:
Define the feature story: The first step is defining the Story and its Acceptance criteria. Defining a Story can be done using a user story template that includes the following elements: