Should I practice "mockist" or "classical" TDD?
Posted
by Daryl Spitzer
on Stack Overflow
See other posts from Stack Overflow
or by Daryl Spitzer
Published on 2008-10-08T20:16:03Z
Indexed on
2010/03/16
22:31 UTC
Read the original article
Hit count: 299
I've read (and re-read) Martin Fowler's Mocks Aren't Stubs. In it, he defines two different approaches to TDD: "Classical" and "Mockist". He attempts to answer the question "So should I be a classicist or a mockist?", but he admits that he has never tried mockist TDD on "anything more than toys." So I thought I'd ask the question here. Good answers may repeat Fowler's arguments (but hopefully more clearly) or add arguments that he didn't think of or that others have come up with since Fowler last updated the essay back in January 2007.
© Stack Overflow or respective owner