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 Time.now, Date.today, and DateTime.now 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


Want to stay up-to-date with Ruby on Rails?

Join 34,885+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.