volume_mute

Interaction Testing and Component Bugs

publish date2026/06/18 05:28:23.322085 UTC

volume_mute

Which type of bugs can only be revealed when a component is used by other components in a system test, but not during individual unit testing?

Correct Answer

Component bugs that arise from unexpected interactions and misunderstandings about what the component does

Explanation

Interaction testing during system testing discovers component bugs that are only revealed when a component is used by other components - specifically bugs arising from unexpected interactions between components and misunderstandings about what a component does. These bugs are invisible during unit testing because they require the presence of interacting components to manifest.

Reference

Software Engineering, Ian Sommerville, 10th edition


Quizzes you can take where this question appears