The Principal Dev – Masterclass for Tech Leads

The Principal Dev – Masterclass for Tech LeadsJuly 17-18

Join

Top Ruby Testing Libraries 2025

GitHub Libraries Ruby Testing Libraries

rapid7/metasploit-framework 35K +116

added 1 month ago

The world’s most used penetration testing framework

faker-ruby/faker 11K +7

added 1 month ago

A library for generating fake data such as names, addresses, and phone numbers.

teamcapybara/capybara 10K +3

added 1 month ago

Capybara helps you test web applications by simulating how a real user would interact with your app

thoughtbot/factory_bot 7K +14

added 1 month ago

A library for setting up Ruby objects as test data.

vcr/vcr 5K +2

added 1 month ago

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

cucumber/cucumber-ruby 5K

added 1 month ago

Cucumber is a tool for running automated tests written in plain language.

travisjeffery/timecop 3K +3

added 1 month ago

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

minitest/minitest 3K +1

added 1 month ago

minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.

thoughtbot/shoulda 2K

added 1 month ago

Makes tests easy on the fingers and the eyes

pact-foundation/pact-ruby 2K +1

added 1 month ago

Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.

thoughtbot/appraisal 1K

added 1 month ago

A Ruby library for testing your library against different versions of dependencies.

stripe-ruby-mock/stripe-ruby-mock 971

added 1 month ago

A mocking library for testing Stripe in Ruby

tendersearls/tldr 277 +2

added 1 week ago

A Ruby test framework for people who don't have time for slow tests

yusukeiwaki/capybara-playwright-driver 181 +2

added 1 week ago

Playwright driver for Capybara

makandra/capybara-lockstep 146

added 5 days ago

This Ruby gem synchronizes Capybara commands with client-side JavaScript and AJAX requests. This greatly improves the stability of an end-to-end ("E2E") test suite, even if that suite has timing issues.

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.