Upgrade to Pro — share decks privately, control downloads, hide ads and more …

From 2 Hours to 7 Minutes with Distributed Testing

From 2 Hours to 7 Minutes with Distributed Testing

Over the last 8 years, the Rails application that we work on has steadily grown, and the test suite has grown with it. Today, our tests take 2 hours to run on a single machine. We run all of these tests as part of our integration process...in under 7 minutes. We developed a distributed test framework, Gorgon, to achieve this. In this presentation, I show why you should run all your tests as part of your integration process and how we achieve this with Gorgon.

Arturo Pie

April 07, 2015
Tweet

Other Decks in Programming

Transcript

  1. Agenda Why a long test feedback loop causes pain? How

    we made test feedback loop short at Nulogy
  2. Agenda Why a long test feedback loop causes pain? How

    we made test feedback loop short at Nulogy
  3. Agenda Why a long test feedback loop causes pain? How

    we made test feedback loop short at Nulogy
  4. 7 years old > 1.8k classes > 20k tests 2

    hours to run tests 19 developers
  5. If you want to try it … ◻️ Train Users

    ◻️ Setup components (RabbitMQ, File Server, Listeners) ◻️ Configure your project (remote_test Rails environment) ◻️ Customize Gorgon run (callbacks)
  6. For Gorgon Administrators ☑️ Train Users ☑️ Setup components (RabbitMQ,

    File Server, Listeners) ☑️ Configure your project (remote_test Rails environment) ☑️ Customize Gorgon run (callbacks)
  7. I hope you learned … Why a long test feedback

    loop causes pain? How we made test feedback loop short at Nulogy