Spec-First vs Code-First Stubbing
Short answer: Code-first stubbing starts from the test and is immediately expressive; spec-first starts from the contract and is correct by construction. The first is a discipline of maintaining stubs
blogs.powerduck.com2 min read