Read more

Speed up large Cucumber test suites

Thomas Eisenbarth
July 17, 2012Software engineer at makandra GmbH

The information is this card is ancient and probably no longer accurate.

Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time and performance of Cucumber suites in turn increases, too.

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

You can use the very same way Henning suggested for speeding up RSpec some time ago.

Put the following into features/support/deferred_garbage_collection.rb

Before do
  DeferredGarbageCollection.start
end

After do
  DeferredGarbageCollection.reconsider
end

We saw really huge improvement of overall execution time of the suites!

Posted by Thomas Eisenbarth to makandra dev (2012-07-17 11:16)