[mocha-developer] Preview of Latest Mocha Changes

Kevin Clark kevin.clark at gmail.com
Thu Apr 12 18:52:41 EDT 2007

This looks awesome James. I now wish I'd submitted a Railsconf talk
about mocha instead of heckle (no love for the heckle these days :( ).
It just gets better and better.

On 4/12/07, James Mead <jamesmead44 at gmail.com> wrote:
> I've finally managed to find some time to do some serious work on
> Mocha. There are some code snippets on my blog
> (http://blog.floehopper.org/articles/2007/04/12/preview-of-latest-mocha-changes)
> showing the new functionality available in trunk (revision 128). I
> don't don't know how many people out there are using trunk, but it
> would be great to get some feedback on these changes before I make a
> new release. In particular I'd like to know whether…
> - I've broken anybody's tests.
> - Anybody has a legitimate use for parameter_block in Expectation#with
> that they don't think will be handled by a suitable parameter matcher
> i.e. using the current behaviour where the block is passed the
> parameters and the result of the block determines whether the
> expectation matches. I'm planning on deprecating this soon.
> - Anybody has a legitimate use for passing in an instance of Proc to
> Expectation#returns i.e. using the current behaviour where the Proc
> gets executed to generate a return value. I'm planning on deprecating
> this soon as well.
> Thanks for all your ideas and suggestions.
> --
> James.
> http://blog.floehopper.org
> _______________________________________________
> mocha-developer mailing list
> mocha-developer at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mocha-developer

Kevin Clark

More information about the mocha-developer mailing list