Description
Adds a Ruby test-double framework with mocks, stubs, and related techniques in a terse syntax. It is useful for isolating collaborators and testing interactions in unit tests.
Test doubles can make tests pass while real dependencies are broken. Keep contract or integration tests for important boundaries and avoid over-mocking behavior users rely on.