Guide to good mocking?

Hi all - does anyone know of a good blog post or wiki or something
with a good guide to mocking? I’ve got some degree of responsibility
for people who are creating mocks. I’m supposed to actually be telling
them the best way to do it.

In some cases we have code with like a bazillion mock(:x) statements
and it’s kind of out of control. I have an idea how the specs should
look but I don’t have it clearly articulated. I need a way to
translate that vague sense for other people without guiding them
through the code line by line. Earlier today I caught a spec that took
50 seconds to run, which was just nuts.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

On Jan 10, 2008 7:24 PM, Giles B. [email protected] wrote:

Hi all - does anyone know of a good blog post or wiki or something
with a good guide to mocking?

http://www.jmock.org/oopsla2004.pdf

Cheers,
David

Hi all - does anyone know of a good blog post or wiki or something
with a good guide to mocking? I’ve got some degree of responsibility
for people who are creating mocks. I’m supposed to actually be telling
them the best way to do it.

There’s ots of good stuff in here:

-Steven