Ruby on Rails Tools

Testing Tools

timecop

Recommended
Learn More

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.

85,412,937 Downloads

Learn More

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.

65,978,345 Downloads

Learn More

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

4,291,649 Downloads

Learn More

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

109,564,713 Downloads

vcr

Learn More

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

46,368,712 Downloads

Learn More

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

108,135,031 Downloads

Learn More

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.

95,851,601 Downloads

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

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

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