📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

A test stub is used during testing to do what?

A. Simulate a called module that is not yet available ✅
B. Generate the user interface
C. Store test data permanently
D. Replace the module under test

Correct Answer: A. Simulate a called module that is not yet available

Explanation

A stub is a dummy implementation of a subordinate module that returns canned responses so the caller can be tested.