Object Oriented Software Engineering View all facts Glossary Help |
subject > representation > abstraction > procedural abstraction > stub |
stub | ||||
subject | fact |
stub | has definition A piece of code that has the same interface (i.e. API) as the lower level layers, but which does not perform any real computations or manipulate any real data | |
is a subtopic of 10.9 - Strategies for Testing Large Systems | ||
is used in top-down testing | ||
is a kind of procedural abstraction | ||
returns a fixed default value | ||
procedural abstraction | has advantage when using a certain procedure, a programmer does not need to worry about all the details of how it performs its computations; he or she only needs to know how to call it and what it computes | |
hides the details of procedures |