[rspec-users] Deprecating the mocking framework?
Rodrigo Alvarez Fernández
papipo at gmail.com
Mon Sep 3 05:19:35 EDT 2007
I would like to know if the mock framework will be deprecated, since I
have a pair of feature requests, and I don't know where to request
1) Alternative expectations:
2) Chained stubs/expectations
I'm sure that this needs no more explanation :)
On 9/3/07, Zach Dennis <zach.dennis at gmail.com> wrote:
> On 9/2/07, Andrew WC Brown <omen.king at gmail.com> 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
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users