jko170 wrote:
> My app has 64 models and my test are so slow. 30 seconds at least.
> 
> I'm using Machinist. How can I speed up my tests? It has really killed
> my motivation to test at all...

30 seconds? I'll take that any day! :-)

I am involved in one project that has a test suite which takes 24 
minutes today and is ever expanding. The only option to improve the 
speed of that is to do some sort of distributed building. We're looking 
at our options in that area.

Things we've done before:

- Cut down the number of superfluous tests
- Ensure your fixtures are transactional
- Switch to Ruby Enterprise Edition or JRuby for faster execution
- Looked into autotest
- Buy better hardware
- Tune the database

--
Roderick van Domburg
http://www.nedforce.com
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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