Zach,

I believe version 0.7.0 has the global ordering you are looking for:
Version 0.7.0

Added and_yield as an expectation clause.
Inspect on Mocks now yield a more consise description.
Global ordering across all mocks in a container is now allowed.
Added support for Demeter chain mocking.
Deprecated a number of mock_* methods.


-Chad

On Sep 3, 2007, at 12:08 AM, Zach Dennis wrote:

> On 9/2/07, Andrew WC Brown <[EMAIL PROTECTED]> wrote:
>> I think that makes sense.
>>
>> Which do you recommend? Flexmock or Mocha?
>>
>
> I wouldn't recommend either of them by themselves, at least the
> current way they sit.
>
> Jim Weirich may be adding globally ordered strict mocks, which if he
> does then I think Flexmock will be the first mocking library in ruby
> to cover all mocking needs (as far as I know).
>
> Mocha (and RSpec mocks too) don't support globally strict ordered
> mocks. Hardmock is another mocking library which is just strict
> mocking (no stubs, no partial mocks). Right now I prefer Mocha +
> Hardmock, but I'm eagerly awaiting to see if Flexmock gets globally
> strict ordered mocks.
>
> Zach Dennis
> http://www.continuousthinking.com
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to