This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. Find sources: "Test stub" – news · newspapers · books · scholar · JSTOR (February 2021) (Learn how and when to remove this message) |
A test stub is a test double that provides static values to the software under test.
A test stub provides canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test.
A stub may be coded by hand or generated via a tool.
See also
References
- Fowler, Martin (2007), Mocks Aren't Stubs (Online)
External links
This article is a stub. You can help Misplaced Pages by expanding it. |