volume_mute
Benefits of TDD - Comprehensive Summary
publish date: 2026/06/18 05:45:7.566270 UTC
volume_mute
Which of the following are documented benefits of test-driven development? Select all that apply.
Correct Answer
(1) Comprehensive code coverage - every code increment has at least one test
(2) Regression testing is continuously supported through the accumulated test suite
(3) Debugging is simplified - when a test fails, the defect must be in the new code
(4) Tests act as a form of system documentation
Explanation
TDD has four key documented benefits: (1) code coverage - all code has tests; (2) regression testing - accumulated tests re-run with each increment; (3) simplified debugging - failures isolated to new code; (4) tests as documentation. TDD does NOT eliminate the need for system/acceptance testing and cannot guarantee zero defects.
Reference
Software Engineering, Ian Sommerville, 10th edition
