Misplaced Pages

Test stub

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
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

  1. Fowler, Martin (2007), Mocks Aren't Stubs (Online)

External links


This article is a stub. You can help Misplaced Pages by expanding it.

Category:
Test stub Add topic