|By Manuel Weiss||
|August 30, 2013 11:00 AM EDT||
Developers need to be able to run tests quickly or they will stop running them.
The biggest bane of test driven development, or whatever variant you practice, is long boot times. Even when you just run one test a slow boot will make it a tedious job. There are a number of ways to reduce startup times in a Ruby on Rails project.
Load less dependencies to get a faster test suite boot time
Project dependencies need to be loaded every time you start your test suite, less dependencies means faster startup. Keeping project dependencies to a minimum is always a good idea, not just because of boot time.