[rspec-users] Test Spies for RSpec 2
jeffdeville at gmail.com
Fri Jan 21 10:29:58 EST 2011
Scott, check out Bourne. It's an add on to mocha that gives you
spies. I'm using it, and like it a lot.
On Dec 2 2010, 8:53 am, David Chelimsky <dchelim... at gmail.com> wrote:
> On Dec 2, 2010, at 1:44 AM, Scott Bellware wrote:
> > I've tried three test spy mocking frameworks for RSpec that I know of.
> > Presently, all three (Not A Mock, RR, rspec-spies) don't work with
> > RSpec 2.
> Have you contacted the maintainers of the projects that offer spies? I'm a bit surprised they haven't updated to support RSpec-2, which was in beta since March (plenty of time for downstream libs to update).
> > Does anyone have a line on any other mocking frameworks for RSpec 2
> > that allow theAAAstyle to be supported?
> I was only aware of those three.
> > I'm really hoping to not have to roll off everything I've learned and
> > put into practice about test/spec structure over the past four years
> > and fall back to traditional mocking. Any pointers to any hint of a
> > possible solution would be greatly helpful.
> Have you considered contributing a patch to your preferred spy extension? The frameworks they depend on (expectations and mocks) didn't really change in any significant way, so I doubt it would be that complicated to get any of them working.
> rspec-users mailing list
> rspec-us... at rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users