volume_mute
Inspections vs. Testing for Interface Errors
publish date: 2026/06/18 03:56:40.983403 UTC
volume_mute
For detecting interface errors, the text suggests that inspections can sometimes be better than testing. In what way are inspections particularly effective for interface testing?
Correct Answer
Inspections can concentrate on component interfaces and ask questions about assumed interface behavior
Explanation
Inspections can be better than testing for detecting some interface errors because they can concentrate specifically on component interfaces and critically question the assumptions made about interface behavior. During an inspection session, reviewers can ask 'what does this component assume about the called component?' - a question that is difficult to address systematically through testing alone.
Reference
Software Engineering, Ian Sommerville, 10th edition
