Speed up large Cucumber test suites

Updated . Posted . Visible to the public. Deprecated.

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.

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!

Thomas Eisenbarth
Last edit
Dominik Schöler
Keywords
cucumber, run-time, speed, fast
License
Source code in this card is licensed under the MIT License.
Posted by Thomas Eisenbarth to makandra dev (2012-07-17 09:16)