Hi I've just started using RSpec 2 in Rails 3 and I'm incredibly frustrated by the time it takes to boot Rails, it's a real TDD bottleneck. The obvious solution is Spork, which is currently not possible with RSpec 2 because it lacks DRb support[1]. I've cloned RSpec and I'm about to start working on DRb in RSpec 2, but I thought I'd fire this off to ask... * is anyone else also working on it? I don't want to duplicate effort. * are there any potential issues that people with RSpec 2 knowledge can forsee? I don't want to lose time on known gotchas. If the answer to both is no I'll dive in :) Cheers Ashley [1] http://github.com/rspec/rspec-core/issues#issue/2 -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran
on 2010-03-10 14:34
on 2010-03-10 14:49
On Wed, Mar 10, 2010 at 7:31 AM, Ashley Moran <ashley.moran@patchspace.co.uk> wrote: > Hi > > I've just started using RSpec 2 in Rails 3 and I'm incredibly frustrated by the time it takes to boot Rails, it's a real TDD bottleneck. The obvious solution is Spork, which is currently not possible with RSpec 2 because it lacks DRb support[1]. > > I've cloned RSpec and I'm about to start working on DRb in RSpec 2, but I thought I'd fire this off to ask... > > * is anyone else also working on it? I don't want to duplicate effort. AFAIK, no. Please add a comment to the issue saying you're working on it. > * are there any potential issues that people with RSpec 2 knowledge can forsee? I don't want to lose time on known gotchas. * You will need the other gems installed in order to work on rspec-2. There is no concept of a CommandLineRunner yet, nor does there necessarily need to be. i.e. don't add one just because that's how rspec-1 dealt with Drb, but if that seems like an easy direction and it solves the problem cleanly, go for it. Thanks for taking up the cause! Cheers, David
on 2010-03-10 15:08
On Mar 10, 2010, at 1:46 pm, David Chelimsky wrote: > AFAIK, no. Please add a comment to the issue saying you're working on it. Done. >> * are there any potential issues that people with RSpec 2 knowledge can forsee? I don't want to lose time on known gotchas. > > * You will need the other gems installed in order to work on rspec-2. Think I have that all sorted. BTW when did you start using "watchr"? It's new to me. I notice it runs specs blindingly fast, which I like :-) Why that over (the new ZenTest-free) autotest? > There is no concept of a CommandLineRunner yet, nor does there > necessarily need to be. i.e. don't add one just because that's how > rspec-1 dealt with Drb, but if that seems like an easy direction and > it solves the problem cleanly, go for it. I'll see what seems to fit. Don't expect me to come up with a good design first time though. > Thanks for taking up the cause! No probs - I'll end up stabbing myself in the eye with a real spork if I have to watch Rails boot one more time =) Ashley -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.