[rspec-users] Deprecating the mocking framework?
Andrew WC Brown
omen.king at gmail.com
Sun Sep 2 14:06:03 EDT 2007
I think that makes sense.
Which do you recommend? Flexmock or Mocha?
On 9/2/07, Scott Taylor <mailing_lists at railsnewbie.com> wrote:
> On Sep 2, 2007, at 12:55 PM, David Chelimsky wrote:
> > On 9/2/07, Wilson Bilkovich <wilsonb at gmail.com> wrote:
> >> On 9/1/07, rupert <rupert_apsc at rupespad.com> wrote:
> >>> On 1 Sep 2007, at 10:04, Tom Stuart wrote:
> >>>> On 1 Sep 2007, at 09:31, rupert wrote:
> >>>>>> Are we planning on dumping the mock framework in favor of using
> >>>>>> Mocha
> >>>>> The idea has been bandied around on the dev list recently
> >> This decision, if it is made in this manner, is suicide for RSpec.
> > I simply don't understand this statement. Why is this such a big deal?
> > RSpec's mock framework offers pretty much ZERO over mocha or flexmock
> > - the only thing is that it saves you from typing 24 or 27 characters
> > in a config file, depending on your preference. 21 if you use RR.
> > After that, the functionality is pretty much the same as the other
> > frameworks
> I'm a little confused about this discussion. Why don't we just do
> the following:
> 1. Hand off the mocking/stubbing framework off to someone else. It
> will be their project
> 2. Make the mocking/stubbing framework a dependency of the rspec gem
> 3. Make it the default (as it is now)
> 4. Provide clear directions for changing mocking frameworks (as we
> have now).
> I thought the end goal with refactoring the mocking framework out was
> not that we shouldn't be using it, but, that we (David, Aslak, Brian,
> etc) won't have to maintain it. Or am I missing something?
> rspec-users mailing list
> rspec-users at rubyforge.org
putting small businesses on-line
1319 Victoria Avenue East
Thunder Bay, Ontario P7C 1C3
Andrew WC Brown
web-developer and owner
andrew at monsterboxpro.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users