orstub
Orstub is a software testing artifact used to substitute for unavailable or remote components during development, testing, and continuous integration. It implements the same interface as the real component but provides deterministic, controllable behavior, enabling tests to run offline or in isolation.
Origin and motivation: In distributed and service-oriented architectures, teams rely on stubs to simulate external services
Characteristics: Orstubs are typically self-contained and portable, easy to instantiate from interface definitions, and scriptable through
Variants: Common variants include fast stubs (minimal overhead), stateful stubs (maintain internal state across calls), and
Usage and limitations: Orstubs are widely used for unit and integration testing, offline development, and CI