Stub

/stʌb/ noun

Definition

A minimal implementation of a software component that provides predetermined responses to method calls during testing. Stubs replace real dependencies with simplified versions that return fixed values.

Etymology

From Old English 'stybb' meaning tree stump or short projecting part. In computing, it was first used in the 1960s for placeholder code segments, emphasizing the 'cut-off' or minimal nature - like a tree stump that shows where a full tree once stood.

Kelly Says

A stub is like a cardboard cutout of a celebrity at a photo booth - it looks like the real thing from the front and serves its purpose for photos, but there's nothing behind it. Stubs give your tests the answers they need without any of the complexity, making tests fast and predictable!

Translations

AMአማርኛ
ጭንቅ
ARالعربية
جذع
BNবাংলা
গোড়া
CACatalà
monyó
CSČeština
pařez
DADansk
stub
DEDeutsch
Stummel
ELΕλληνικά
κορμός
ESEspañol
muñón
FAفارسی
کنده
FISuomi
kanto
FRFrançais
talon
GUGU
તણો
HAHA
koli
HEעברית
קניון
HIहिन्दी
ठूंठ
HUMagyar
csonk
IDBahasa Indonesia
tunggul
IGIG
mma
ITItaliano
moncone
JA日本語
切り株
KKKK
пень
KMKM
ផ្នត់
KO한국어
그루터기
MRMR
ठुंबा
MSBahasa Melayu
tunggul
MYမြန်မာ
တောင့်
NLNederlands
stomp
NONorsk
stubbe
PAPA
ਸਟੱਬ
PLPolski
pień
PTPortuguês
toco
RORomână
ciot
RUРусский
пень
SVSvenska
stubbe
SWKiswahili
kigodoro
TAதமிழ்
கட்டை
TEతెలుగు
గూడ
THไทย
ก้อน
TLTL
puno
TRTürkçe
kütük
UKУкраїнська
пень
URاردو
ڈنڈی
VITiếng Việt
gốc
YOYO
ipilẹ
ZH中文
树桩
ZUZU
isiqu

Related Words

Explore More Words

Get the Word Orb API

Complete word intelligence in one call. Free tier — 50 lookups/day.