TestProf: take your slow tests to the doctor

At BalkanRuby, in Sofia, Bulgaria

Topics

Share on

Vladimir Dementyev introduces a tool called TestProf—a toolbox for profiling Ruby test suites and a set of ready-made recipes to write faster tests and fix your existing slow codebase.

Writing tests is a significant part of the Ruby development process.

The test suite’s run time increases as the application evolves. We don’t care until we find ourselves wasting too much time waiting for the “green light.”

What makes tests slow—and how to heal them? Let’s answer these questions.

I would like to start the talk by answering several questions, e.g., “Do you write tests?”, “How long does your test suite run?”, etc. Some stats & charts.

In the first part of the talk, I would like to share a few real-life stories: “Our tests were slow, we did some investigation, and the reason was X.” Most of these reasons are related to incorrect test environment configuration.

The second part of the talk answers the question: how do you find bottlenecks in your tests?

I’m going to introduce a tool called TestProf—a toolbox for profiling test suites and a collection of ready-made recipes to write faster tests and fix your existing slow codebase.

Let’s make tests faster!

Video
Slides

In the same orbit

Explore more events

Let's solve your hard problems

Martians at a glance
18
years in business

We're experts at helping developer products grow, with a proven track record in UI design, product iterations, cost-effective scaling, and much more. We'll lay out a strategy before our engineers and designers leap into action.

If you prefer email, write to us at surrender@evilmartians.com