Skip to main content

Testing Tools



A gem providing "time travel" and "time freezing" capabilities, making it dead simple to test time-dependent code. It provides a unified method to mock,, and in a single call.

timecop 25,905,116 Downloads Last release

travisjeffery/timecop Last commit


factory_bot provides a framework and DSL for defining and using factories - less error-prone, more explicit, and all-around easier to work with than fixtures.

factory_bot 1,429,928 Downloads Last release

thoughtbot/factory_bot Last commit


Fabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Sequel, or any other Ruby object.

fabrication 1,930,777 Downloads Last release

paulelliott/fabrication Last commit


WebMock allows stubbing HTTP requests and setting expectations on HTTP requests.

webmock 29,274,816 Downloads Last release

bblimke/webmock Last commit


Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.

vcr 12,374,450 Downloads Last release

vcr/vcr Last commit


Capybara is an integration testing tool for rack based web applications. It simulates how a user would interact with a website

capybara 37,412,941 Downloads Last release

teamcapybara/capybara Last commit


WebDriver is a tool for writing automated tests of websites. It aims to mimic the behaviour of a real user, and as such interacts with the HTML of the application.

selenium-webdriver 28,755,766 Downloads Last release


Subscribe to the newsletter

Join 31,353+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.