In computer science, test stubs are programs which simulate the behaviors of software components (or modules) that are depended upon modules of the module being tested.
“ | Test stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test. | ” |
Test Stubs are mainly used in incremental testing's Top-Down approach. Stubs are computer programs which act as a module and give the output as given by an actual product/software. Test stub is also called as a 'called' function.
Read more about Test Stubs: Example, External Links, See Also
Famous quotes containing the words test and/or stubs:
“Whenever a true theory appears, it will be its own evidence. Its test is, that it will explain all phenomena.”
—Ralph Waldo Emerson (18031882)
“The first thing to be done by a biographer in estimating character is to examine the stubs of his victims cheque-books.”
—Silas Weir Mitchell (18291914)