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.
STUB-IN STUB-IN STUB-IN
Because in single stub method stub position has to be adjustible which create error......this is notin the case of double stub position method.........
stub replace
Stub Wiberg died in 1929.
Stub Wiberg was born in 1875.
Sverre Stub was born in 1946.
Stub Stewart died in 1974.
Stub Stewart was born in 1888.
Stub Barron was born in 1890.
Stub Barron died in 1979.
Ambrosius Stub was born in 1705.
Ambrosius Stub died in 1758.