Hi In light of the fact that RSpec mocks are going into maintenance mode in the near future, I was wondering what everyone was switching to. I liked the look of FlexMock most, so gave that a shot. However, there''s a few things that don''t work well with RSpec due to the traditional differences in the way Test::Unit cases are written vs RSpec specs. (One spec per example for example.) I''ve sent a patch to flexmock-users for one, although there others (the list has gone quiet now - will wait until Jim Weirich gets back before I look at any other changes). The other mock frameworks look similar, in that while i''m sure they will do the job, they will not fit as seamlessly into RSpec. Given that, what is everyone using here? And if still RSpec mocks, what will you switch to? I''m sure I read here that RSpec mocks will be maintained for RSpec''s own specs. (Corrections accepted...) If that is the case, surely they will remain good enough for use with application code? I just don''t know what to use for mocking any more... Ashley -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ home
On 10/21/07, Ashley Moran <work at ashleymoran.me.uk> wrote:> Hi > > In light of the fact that RSpec mocks are going into maintenance mode > in the near future, I was wondering what everyone was switching to.<snip>> I''m sure I read here that RSpec mocks will be maintained for RSpec''s > own specs. (Corrections accepted...)The decision was to keep on maintaining the mock framework as part of RSpec for the foreseeable future. If/when we decide to deprecate it, we will provide an easy transition path. Cheers, David
On Oct 21, 2007, at 2:44 pm, David Chelimsky wrote:> The decision was to keep on maintaining the mock framework as part of > RSpec for the foreseeable future. If/when we decide to deprecate it, > we will provide an easy transition path.Ok cool. I was working on a false assumption then. I''ll switch back to RSpec mocks. I dunno, it''s a rollercoster this RSpec trunk thing! -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ home
On 10/21/07, Ashley Moran <work at ashleymoran.me.uk> wrote:> > On Oct 21, 2007, at 2:44 pm, David Chelimsky wrote: > > > The decision was to keep on maintaining the mock framework as part of > > RSpec for the foreseeable future. If/when we decide to deprecate it, > > we will provide an easy transition path. > > > Ok cool. I was working on a false assumption then. I''ll switch back > to RSpec mocks. > > I dunno, it''s a rollercoster this RSpec trunk thing!This has nothing to do with trunk! It was a discussion on the list. That''s all. Cheers, David
On Oct 21, 2007, at 3:08 pm, David Chelimsky wrote:> This has nothing to do with trunk! It was a discussion on the list. > That''s all.No I know, I just meant the rate the project is moving at can be overwhelming sometimes. I only have to spend a short time away from it and I''ve got a stack of questions. (Hence the spam lately - I think I''m done now though.) -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ home
On 10/21/07, Ashley Moran <work at ashleymoran.me.uk> wrote:> > On Oct 21, 2007, at 3:08 pm, David Chelimsky wrote: > > > This has nothing to do with trunk! It was a discussion on the list. > > That''s all. > > No I know, I just meant the rate the project is moving at can be > overwhelming sometimes.Got it.> I only have to spend a short time away from > it and I''ve got a stack of questions. (Hence the spam lately - I > think I''m done now though.Don''t worry about mailing the list. That''s what it''s for! Cheers, David
On Oct 21, 2007, at 3:16 pm, Ashley Moran wrote:> No I know, I just meant the rate the project is moving at can be > overwhelming sometimes.Which is a good thing, in case it sounded like a criticism! I''d rather be overwhelmed than bored. -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ home
On Oct 21, 2007, at 3:22 pm, David Chelimsky wrote:> Don''t worry about mailing the list. That''s what it''s for!I sometimes wonder how you get time to work on the code with all the time you spend offering support here! Don''t change though :D I know everyone else is equally grateful. Ashley -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ home
On 10/21/07, Ashley Moran <work at ashleymoran.me.uk> wrote:> > On Oct 21, 2007, at 3:22 pm, David Chelimsky wrote: > > > Don''t worry about mailing the list. That''s what it''s for! > > I sometimes wonder how you get time to work on the code with all the > time you spend offering support here! Don''t change though :D I > know everyone else is equally grateful.Thanks. Unfortunately, as the list of users grows, I do have to change a bit if I want to get my other work done, write a book, and still have a life. Luckily, there are some thoughtful people, including yourself, emerging as mentors on this list. For their (and your) support, I am equally grateful. Cheers, David
On Oct 21, 2007, at 3:34 pm, David Chelimsky wrote:> Thanks. Unfortunately, as the list of users grows, I do have to change > a bit if I want to get my other work done, write a book, and still > have a life. Luckily, there are some thoughtful people, including > yourself, emerging as mentors on this list. For their (and your) > support, I am equally grateful.Thanks for the vote of confidence, and it''s no problem. It will be a while before I consider myself a "mentor" though. But I will continue to chirp in with opinions. Ashley -- blog @ http://aviewfromafar.net/ linked-in @ http://www.linkedin.com/in/ashleymoran currently @ home
On Oct 21, 2007, at 10:34 AM, David Chelimsky wrote: <snip>> > Thanks. Unfortunately, as the list of users grows, I do have to change > a bit if I want to get my other work done, write a book, and still > have a life. Luckily, there are some thoughtful people, including > yourself, emerging as mentors on this list. For their (and your) > support, I am equally grateful. > > Cheers, > David > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-usersimo, the #rspec irc channel which provides peer support is underutilized by the community See you there! --linoj