volume_mute
TDD and Test Scope
publish date: 2026/06/19 10:09:34.704819 UTC
volume_mute
TDD tests are typically written at which testing level, and what does this mean for broader test coverage?
Correct Answer
Unit level - TDD tests verify individual functions or methods, leaving higher-level interaction testing to other testing stages
Explanation
TDD tests are typically at the unit level, verifying individual functions, methods, or small objects. While this provides excellent unit-level coverage, it does not address higher-level concerns such as component interactions, system-wide emergent behavior, or real-world user behavior. System, release, and user testing are still needed.
Reference
Software Engineering, Ian Sommerville, 10th edition
