Monday, July 30, 2012

I'm a mock object...

Two in a Cube: Your code is soooo ugly...it implements a mask whenever it has a public method.
Title: I'm a mock object...
Snarky: Your code is soooo ugly...it implements a mask whenever it has a public method.

A rare case where you don't need to be a geek to actually get the punchline. Since we're on the topic of mocks, I thought I'd share an essay from Martin Fowler that has a really great breakdown of using mocks and stubs in testing.  Good stuff.

No comments:

Post a Comment