Test Doubles

Back: Testing

Stand-in objects that replace real dependencies during testing. Different types of doubles serve different purposes — from simple stubs that return canned values to mocks that verify interactions.

Concepts


testing test-doubles