← Graph

Stub Execute Verify

concept 1 connections

Testing paradigm WebMock borrows from the Java Mockito framework. The stubbing phase (declaring fake responses) is kept separate from the verification phase (asserting requests were made), which allows either stubbing without verifying or verifying without stubbing. Contrasts with RSpec's `expect` declaration that couples stub and expectation in a single statement.

category
pattern
about
Stub Execute Verify concept
The talk explains how WebMock separates stubbing from verification — the stub–execute–verify paradigm.

Provenance

Read by
4 extractions