Testing · Junior · Question 70 of 78
What is TDD (test-driven development)?
- ✓Correct answer: Writing a failing test first, then the minimal code to pass it, then refactoring (red–green–refactor)
- 2Writing tests after the release
- 3Testing only with debugging tools
Explanation
TDD helps design small, testable units and gives a test for every requirement.