Martin Fowler personal blog

Mocks Aren't Stubs (2007)

Explaining the difference between Mock Objects and Stubs (together with other forms of Test Double). Also the difference between classical and mockist styles of unit testing.
Points
71
HN comments
29
Submissions
1
Cited by
29 commenters

Software EngineeringCareer & Management2021

On Hacker News

SubmittedTitle on HNPointsComments
Jan 27, 2021Mocks Aren't Stubs (2007) by BerislavLopac7129

Cited in comments

Linked from 33 Hacker News comments by 29 different people, from Mar 2011 to Dec 2025.

Most recent:

Search every comment that links here →

More from Martin Fowler

All 84 posts →

Related posts from the same era