From the Blogosphere
Faster Test Suite Boot Times with Ruby on Rails
Learn how to reduce startup times for your Ruby on Rails test suite. We talk about dependencies, stubs and factories.
By: Manuel Weiss
Aug. 30, 2013 11:00 AM
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.
Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
SYS-CON Featured Whitepapers
Most Read This Week