Weaving and seaming mocks

At RubyConf Mini, in Providence, Rhode Island, United States

Topics

Share on

In this talk, I’d like to discuss various approaches to keeping mocks in line with the actual implementation and present a brand-new idea based on mock fixtures and contracts.

To mock or not mock is an important question, but let’s leave it apart and admit that we, Rubyists, use mocks in our tests.

Mocking is a powerful technique, but even when used responsibly, it could lead to false positives in our tests (thus, bugs leaking to production): fake objects could diverge from their real counterparts.

Video
Slides

In the same orbit

Explore more events

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com