📞 0339-0387701 (WhatsApp) Contact

« Back to Software Engineering (NCCIA)

A stub in testing is used to do what?

A. Store test data in a database
B. Stand in for a called module that is not yet built, so the caller can be tested ✅
C. Generate the user manual
D. Replace the final user interface permanently

Correct Answer: B. Stand in for a called module that is not yet built, so the caller can be tested

Explanation

Stubs simulate lower-level modules during top-down integration testing.