Software & Engineering (Test-Driven Development - TDD)In programming, test development is often known as TDD, a technique where automated tests are written before the actual production code. [1]
- Red: Write an automated test case that fails because the feature does not exist yet.
- Green: Write just enough code to make the test pass.
- Refactor: Clean up and optimize the code while ensuring the test continues to pass.