« Return to Thread: Deprecating the mocking framework?

Re: Deprecating the mocking framework?

by OmenKing :: Rate this Message:

Reply to Author | View in Thread

My question is what would you recommend for Mocking?

Mocha or FlexMock?

On 9/1/07, rupert <rupert_apsc@...> 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 banded around on the dev list recently
>
> This makes me sad, because it means only one thing for the majority
> of users: more hassle. So now I have to choose a mocking framework
> too (an arbitrary choice, thus a gamble), or else configure RSpec to
> keep working the way it used to work, and watch my mocking code slide
> into obsolescence? Sigh.

It won't be removed, so you'll still be able to use it (as Peter
pointed out) .  I had exactly the same initial reaction as you (mine
was a sort of "nooooo, they can't do that") so I know where you're
coming from. But having read through the discussion on the dev list
and thought about it, the rspec mocking framework is pretty stable
and complete so I don't think depreciating it is going to be too big
a problem for those (like me!) that have a bundle of specs that use
the rspec mocking framework - I'm going to keep using it for now, but
have a look at the alternatives as a background task with the intent
to use one of them on a new project as some point in the future.

Cheers

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


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

 « Return to Thread: Deprecating the mocking framework?