I am working on my first Rails BDD project with extensive tests since
starting out with Rails a few years ago.

Running RSpec or Cucumber is really slow. I'm using Rails 3 and RSpec
2.
To run one model spec with only 5 tests takes almost 1 minute! When it
finishes it says it took only 0.9 seconds to run the actual test. So
obviously it is loading the environment that takes so long. I just
restarted my machine as I read somewhere that can make a difference,
but no joy for me.

Its very frustrating and time consuming - I am usually running tests
then going off to do something else while I wait for that to finish,
its really spoiling my work flow..! I read somewhere that even 15
seconds is a long time... 1 minute is ridiculous! Also that Java test
suites can run hundreds of examples in less than 2 seconds. I wish !!

I have looked into Spork, but this is not Rails 3 compatible yet.
Is there anything I can do to make this better?

Thanks in advance..

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to