I'm considering using Mocha + Mocha Shot.<br><a href="http://rubyforge.org/projects/mocha-shot">http://rubyforge.org/projects/mocha-shot</a><br><br>There are some things that are in Rspec's mocking framework that are missing in Mocha though.
<br>For example, in spec/mock, #and_return takes a block that gets executed and accepts the arguments passed to the method.<br><br>Oh well, I guess nothing is "perfect" :)<br><br><div><span class="gmail_quote">On 5/7/07,
<b class="gmail_sendername">David Chelimsky</b> <<a href="mailto:dchelimsky@gmail.com">dchelimsky@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Just curious - now that rspec (as of 0.9) let's you choose your mock<br>framework, how many of you are actually using (or planning to use)<br>mocha or flexmock?<br><br>Anybody planning to use any other mock framework besides rspec, mocha
<br>or flexmock?<br><br>Thanks,<br>David<br>_______________________________________________<br>rspec-devel mailing list<br><a href="mailto:rspec-devel@rubyforge.org">rspec-devel@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/rspec-devel">
http://rubyforge.org/mailman/listinfo/rspec-devel</a><br></blockquote></div><br>