encyclopegia.org

Test stub

A test stub is a test double that provides static values to the software under test.[src] 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.[src] A stub may be coded by hand, generated via a tool or be created as a dedicated part of a larger system such as a stub server or service.[src] Stubs differ from , which assert and verify interactions.[src] Stubs only supply data.[src]

A test stub is a test double that provides static values to the software under test.[src] 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.[src] A stub may be coded by hand, generated via a tool or be created as a dedicated part of a larger system such as a stub server or service.[src] Stubs differ from , which assert and verify interactions.[src] Stubs only supply data.[src] ==See also== Mock object Method stub Software testing Test Double Stub (distributed computing) ==References== ==External links== Test Stub at XUnitPatterns.com[src]

11 sentences · 11 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Test stub." encyclopegia.org, 2026, https://encyclopegia.org/wiki/test-stub. Accessed 01 December 2026.

Chicago

"Test stub." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/test-stub.

APA

encyclopegia.org. (2026). Test stub. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/test-stub

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Template:Footy-stub

stub · references available

Izod impact strength test

stub · references available

Allen's test

stub · references available

Öko-Test

stub · references available

ABR-Test

stub · references available

Wartegg test

stub · references available

Classical test theory

stub · references available

Finkelstein's test

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1372651727 · 0.5 · snapshot enwiki-001372651727

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.