When I run script/console I have to wait like 10 seconds to the console
to start.
When I run any of the tests in my rails app ('rake test' or whatever
else like AltShiftX+U in RadRaild) I also have to wait about
7-10 seconds for the testing itself to start.
This slows down my continues-development cycle. Is there any way to
speed up tests-framework startup in rails 2.3.5, 2.3.9 and ruby 1.8.7?
I would like the testing framework to startup in max 1 second. I am
doing TDD and I run tests several tomes a minute sometimes. If the
testing framework starts up 10 seconds it is not acceptable for me.
just a thought, if you close radrails, does it improve the speed if you open a rails console in a terminal session? i don't know what system you are on, but my kubunutu starts up a rails console really quick.
What operating system are you using? I have heard this complaint many
times with certain Windows versions (may all versions).
If you're on some form of UNIX/Linux based system then your problem is
likely something else that can be fixed. Also if you're on one of he
*NIX based systems then I would recommend running autotest. With
autotest you only have to pay the spin-up cost once (which should only
be a couple of seconds generally) for each start of autotest. Plus,
autotest will reduce the number of test that must be executed since it
detects which file has changed and runs only the test in related files.