- Explain how TDD relates to the software development lifecycle
- Setup and use a test framework to help test code
- Use the Red Green Refactor loop to develop code
- Test-drive a program with multiple functions with unit tests
Test-driven development is a development process to help align work done with requirements, improve quality of code, and allow for easier maintenance. It focuses on confirming and then codifying the behaviour of code before it is written.
In the software development lifecycle TDD is used in between the requirements gathering phase and the release phase.
The output of the TDD process is both source code and a test suite that has codified the expected behaviour based on user requirements.