Ruby Integration Testing Tools: Population Census 2014

by Eugene MelnikovJune 29, 2014
This blog post overviews how the technology stack across Ruby integration tooling has changed over 2010–2014.

2010 vs. 2014

Hi colleagues. Over the past four years, the world of tools for integration testing has been changed a lot. In 2010, the technology stack looked like shown below.

Ruby integration testing tools in 2010 (Image credit)

In 2014, the scene has changed, and new tooling came into the view.

Ruby integration testing tools in 2014 (Image credit)

Hope it helped to eliminate mess in your head. Feel free to comment if there is any discrepancy.

In addition, I’d like to introduce a performance comparison of some combinations.

Combination
Spent time
capybara-poltergeist-phantomjs0.905939
capybara-racktest0.164243
capybara-selenium-chrome9.512472
capybara-selenium-firefox19.975556
capybara-selenium-htmlunit9.508733
capybara-selenium-phantomjs17.783997
capybara-webkit1.211507
sahi-chrome25.997508
sahi-firefox32.630895
sahi-phantomjsdoesn’t work
watir-selenium-chrome10.531617
watir-selenium-firefox21.71715
watir-selenium-phantomjs19.585553


capybara-racktest is the fastest combination, but it doesn’t support JavaScript. Consider capybara-poltergeist-phantomjs and capybara-webkit combinations for your application.

P.S. Sahi is really buggy and has poor ruby support. Don’t spend time on it.

You can find source code of the tests in this GitHub repo.

 

Further reading