InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →
Top 23 Ruby Testing Projects
-
faker
A library for generating fake data such as names, addresses, and phone numbers. (by faker-ruby)
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Selenium has issues. I'm using it with Capybara and the latest encounter was a Net::ReadTimeout. I switched to Playwright following Justin Searls guide.
-
Project mention: A library for setting up Ruby objects as test data | news.ycombinator.com | 2025-05-03
-
vcr
Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
RSpec.describe CurrencyExchange do describe '.list' do it 'returns structured currency data' do VCR.use_cassette('currency_layer_list') do # https://github.com/vcr/vcr currencies = described_class.list expect(currencies).to all(be_a(described_class::GlobalCurrency)) end end it 'handles API failures gracefully' do allow(described_class).to receive(:get).and_return( double(success?: false) ) expect(described_class.list).to eq([]) end end end
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
timecop
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 provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.
Project mention: 30,656 Pages of Books About the .NET Ecosystem: C#, Blazor, ASP.NET, & T-SQL | dev.to | 2025-03-16I am very comfortable with Minitest in Ruby. When I started to learn Rails, though, I was surprised by how different RSpec was. In case .NET testing is equally unlike the xUnit style, I should learn the idioms.
-
Database Cleaner
Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
-
-
-
-
-
test-kitchen
Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms
-
-
-
-
Spork
A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Ruby Testing discussion
Ruby Testing related posts
-
A library for setting up Ruby objects as test data
-
Catch JS Errors with Playwright
-
30,656 Pages of Books About the .NET Ecosystem: C#, Blazor, ASP.NET, & T-SQL
-
Ruby "Thread Contention" Is Simply GVL Queuing
-
Show HN: Track Deprecation Warnings in Prod
-
Build a Currency Exchange Service in Ruby on Rails
-
MailCatcher runs a super simple SMTP server
-
A note from our sponsor - InfluxDB
www.influxdata.com | 18 Jun 2025
Index
What are some of the best open-source Testing projects in Ruby? This list will help you:
# | Project | Stars |
---|---|---|
1 | faker | 11,367 |
2 | Capybara | 10,094 |
3 | factory_bot | 8,042 |
4 | vcr | 5,933 |
5 | WebMock | 4,022 |
6 | shoulda-matchers | 3,552 |
7 | Parallel Tests | 3,435 |
8 | timecop | 3,400 |
9 | minitest | 3,332 |
10 | Database Cleaner | 2,950 |
11 | inspec | 2,924 |
12 | Spring | 2,814 |
13 | mutant | 1,976 |
14 | Ruby Tests Profiling Toolbox | 1,932 |
15 | test-kitchen | 1,880 |
16 | DuckRails | 1,720 |
17 | ffaker | 1,563 |
18 | Watir | 1,541 |
19 | Spork | 1,393 |
20 | cuprite | 1,305 |
21 | Appraisal | 1,297 |
22 | mocha | 1,253 |
23 | Machinist | 1,116 |