Select the accurate description of Test-driven development (TDD).
- A. Testing performed after code changes to ensure existing functionality still works correctly.
- B. A development approach where tests are written before the actual code is implemented. ✓
- C. Internal testing performed by an organization's own staff before releasing software to external users.
- D. A testing phase that verifies the interaction between combined modules or components of a system.
Correct answer
B. A development approach where tests are written before the actual code is implemented.
Explanation
Test-driven development (TDD) refers to a development approach where tests are written before the actual code is implemented.