I have the same problem. It also applies to Cucumber tests (at least in my case) and it's horribly frustrating. I remember trying to show the client some cucumber tests and waiting about 35 seconds before they started. It was actually pretty embarrassing!

------------------------------------------------------------------------

        dnagir <mailto:[email protected]>
15 December 2010 8:52 AM


Hi Guys,

I am a bit tired of waiting for for the [rails 3] specs to run after I
save a file. After saving, I have to wait 10 secs or so for my specs
only to be executed (by autotest).

It is just a bit annoying, so I did:

time rspec spec/
...
Finished in 9.68 seconds
95 examples, 0 failures

real 0m19.518s
user 0m17.810s
sys 0m0.970s

This sounds like the tests themselves are fast enough, but the startup
time is about 10 secs.

I heard a lot that bundling the dependencies and booting rails takes
the most of time.
Unfortunately I was not able to find an easy solution to speed it up,
except spork.

Can somebody recommend what we can do about it?

Cheers,
Dima.
http://ApproachE.com


--
You received this message because you are subscribed to the Google Groups "Ruby or 
Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

<<inline: compose-unknown-contact.jpg>>

Reply via email to