Skip to main content
stubbing

stubbing

7.9
Replacing part of a program with a simple fake to test other code
  • noun
  • Specialized
translation icon : simulación
  • The developers used stubbing to test the login feature without connecting to the real database.

Examples

  • Effective stubbing helps identify bugs early in the software development process.

  • By applying stubbing, the team could focus on the user interface before the backend was ready.

  • The developer used stubbing to test the application more efficiently.

  • I noticed many stubbings in the code during the review.

  • The developers used stubbing to simulate the payment processing system during testing.

  • Using stubbing allowed the team to test the front-end code without waiting for the back-end services.

  • With stubbing, testers can quickly verify the functionality of their application without needing all components to be complete.

Synonyms

mocking
vsstubbing
  • Specialized
8 7.5

Using fake parts in software tests to copy real components

focuses on simple temporary replacements rather than full imitation
stub
vsstubbing
  • Specialized
1 7.8

A small piece of code that pretends to be a real part during testing

is the practice of making such temporary replacements for testing
stand-in
vsstubbing
  • Specialized
1 5.8

A simple fake used in software tests to act like a real service

is a specific programming practice of making temporary replacements for tests

How Realistic

mock
  • Specialized
20 7.0
stubbing
  • Specialized
7.9
stub
  • Specialized
1 7.8
placeholder
  • Specialized
6 4.0

Surface Forms

stubbing singular
stubbings plural

Morphology

stubbing = stub (semi-transparent) = stub + ing

The form is clearly built from stub + -ing, but the programming sense is technical and not obvious to a general learner.

Etymology

The word stubbing in programming comes from stub, a word for a short or temporary piece. A 'stub' is a small placeholder that stands in for the real function while testing, so stubbing lets developers try parts of a program before the full code is ready.