[Rspec-devel] define_instance_method, stub_with, and mock_with

Jay Levitt lists-rspec at shopwatch.org
Mon Sep 4 21:20:13 EDT 2006


David Astels wrote:
> Either way is fine with me.  I do wonder what's better for the  
> community... a single, common mock framework... or some selection/ 
> variation?
> 
> I generally tend to favour the latter.

I guess I favor selection/variation when the libraries have different 
goals - e.g. rspec vs. Test::Unit.  But I don't see rspec's mocks and 
Mocha's mocks having different goals, just coincidentally different 
feature sets.  That's why I'd favor integration.

But I'll shut up about that now...

Jay



More information about the Rspec-devel mailing list