volume_mute
Interface Testing Guidelines
publish date: 2026/06/18 03:56:40.406257 UTC
volume_mute
Which of the following are recommended guidelines for testing component interfaces? Select all that apply.
Correct Answer
(1) Test external component calls with parameter values at the extreme ends of their ranges
(2) Always test interfaces with null pointer parameters where pointers are passed
(3) Design tests that deliberately cause components to fail when called through procedural interfaces
(4) Use stress testing in message-passing systems to generate many more messages than expected
(5) Vary the order in which components using shared memory are activated
Explanation
The five interface testing guidelines are: (1) test with extreme parameter values at both ends of valid ranges; (2) test with null pointers where pointers are passed across interfaces; (3) deliberately cause component failure to test failure assumptions; (4) stress test message-passing systems with excessive message loads; (5) vary activation order for shared-memory components to reveal implicit ordering assumptions.
Reference
Software Engineering, Ian Sommerville, 10th edition
