answersLogoWhite

0

What is a stub?

User Avatar

Anonymous

8y ago
Updated: 2/5/2022

Stus are nothing but the replacement for the modules which are subordinate to module under test. These dummy modules use subordinate module's interface & do some data manipulation, Print the verification & Return control to the module under test. e.g Suppose I have 3 modules viz, module1,module2 & module3 & I have to test module 2. Module 2 is ready but module3 is not ready so we will create a dummy module for module3 which is called as stub. Also we can say that Stub's are nothing but the called functions. These are also called as test harness tools.

What else can I help you with?