Hacker News new | ask | show | jobs
by jdlshore 1216 days ago
Hi everyone, author here. This article tends to raise a lot of questions. I'm happy to answer them.

(The most common question: isn't it the same as a mock? The answer is no, mocks are used for isolated, interaction-based testing, and this is for sociable, state-based testing. These are polar opposite approaches to testing with distinct tradeoffs. If you're not familiar with those terms, they're defined in the article in the "Foundational Patterns" section.)