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.

231,512,452 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.

285,264,993 Downloads

Learn More

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

11,050,092 Downloads

Learn More

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

340,496,492 Downloads

vcr

Learn More

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

132,224,376 Downloads

Learn More

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

299,124,568 Downloads

Learn More

Selenium implements the W3C WebDriver protocol to automate popular browsers. It aims to mimic the behaviour of a real user as it interacts with the application's HTML. It's primarily intended for web application testing, but any web-based task can automated.

297,942,409 Downloads

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

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

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