[rspec-users] guide to good mocking?

David Chelimsky dchelimsky at gmail.com
Thu Jan 10 20:27:24 EST 2008


On Jan 10, 2008 7:24 PM, Giles Bowkett <gilesb at gmail.com> 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

>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 Bowkett
>
> Podcast: http://hollywoodgrit.blogspot.com
> Blog: http://gilesbowkett.blogspot.com
> Portfolio: http://www.gilesgoatboy.org
> Tumblelog: http://giles.tumblr.com
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list