Stubs are used in top down testing approach , when one has the major module ready to test .
The sub modules are still not ready yet .
Stubs are used in top down testing approach , when one has the major module ready to test , but the sub modules are still not ready yet .