← Graph

WebMock contract testing integration

question 2 connections

Audience member thanked Blimke for WebMock (which they had used since the first version) and asked whether he has considered building contract-testing support into WebMock or a companion library, since on their projects contract testing is how they learn when mocks are no longer valid. Blimke has not, but said stub-validation scope is constantly on his mind — WebMock's global registries make it hard today to say 'this mock is only valid in this scope or thread'. He hopes a future major version can reduce stub scope. The moderator translated the answer as 'he needs contributors'.

answer_summary
No built-in contract testing; scope/validation of stubs is a known limitation because WebMock uses global registries. Hopes a future major version narrows scope; contributors welcome.
question WebMock contract testing integration
about
WebMock tool
Question asks whether WebMock supports contract testing.
question WebMock contract testing integration
asked_at
Asked during Q&A at the end of Blimke's wroclove.rb 2024 talk.

Provenance

Read by
1 extraction