Using the parallel_tests gem and running the tests in parallel, the whole suite ran in 39 seconds, rather than the usual 4-5 minutes.

Once we’ve got the gem in main, this is how to use it:

  • rake parallel:create
  • rake parallel:prepare
  • RAILS_ENV=test rake parallel:spec

(The reason we need to explicitly set the rails env in the last step is due to an issue discussed here.)

Will Hodgson


Who are Dragon Drop?

Dragon Drop is a specialist web and app development agency. The team has extensive full-stack technical credentials and a strong focus on user experience.

The Dragon Drop founding team have over 40 years of web development and project experience. They have managed or developed over 100 significant ecommerce and web projects during their careers, including implementations for major UK high street retailers, financial services companies and government agencies.

Their approach to innovative solutions stems from perspectives gained as retailer, software supplier and web agency.