Next, let's examine a typical TDD workflow, and see how the different types of tests fit into it.
Following a TDD workflow
Gathering business requirements
The TDD workflow starts with the product manager gathering business requirements from the business stakeholders, and then liaising with the technical team to refine these requirements, taking into account feasibility, costs, and time constraints.
The scope of the requirements should be small. If the application is large, the product manager should prioritize the requirements by importance and urgency, and group them into phases. The first phase should contain the highest priority requirements, which would be implemented first.
These requirements should...