Ruby Testing

Open-source Ruby projects categorized as Testing

Top 23 Ruby Testing Projects

  1. faker

    A library for generating fake data such as names, addresses, and phone numbers. (by faker-ruby)

    Project mention: One... Two... Testing | dev.to | 2025-09-13

    Check out tests/server/FunParkHedgehog/HedgehogGenerators.fs. To grok the file, you need to know that Bogus is an F# implementation of the great Ruby Faker gem - a library for creating plausible-sounding values in a variety of domains.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. Capybara

    Acceptance test framework for web applications

    Project mention: Catch JS Errors with Playwright | dev.to | 2025-03-26

    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.

  4. factory_bot

    A library for setting up Ruby objects as test data.

    Project mention: A library for setting up Ruby objects as test data | news.ycombinator.com | 2025-05-03
  5. vcr

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

  6. WebMock

    Library for stubbing and setting expectations on HTTP requests in Ruby.

  7. shoulda-matchers

    Simple one-liner tests for common Rails functionality

  8. Parallel Tests

    Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber

    Project mention: Helpful Settings When Running RSpec with parallel_tests | dev.to | 2025-09-02

    In CI environments, we often run RSpec in parallel to speed things up. For that, there’s a gem called parallel_tests.

  9. 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.

    InfluxDB logo
  10. 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.

  11. minitest

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

    Project mention: 30,656 Pages of Books About the .NET Ecosystem: C#, Blazor, ASP.NET, & T-SQL | dev.to | 2025-03-16

    I 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.

  12. inspec

    InSpec: Auditing and Testing Framework

  13. Database Cleaner

    Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.

  14. Spring

    Rails application preloader (by rails)

  15. mutant

    Automated code reviews via mutation testing - semantic code coverage.

    Project mention: Automated code reviews via mutation testing | news.ycombinator.com | 2025-10-06
  16. Ruby Tests Profiling Toolbox

    Ruby Tests Profiling Toolbox

  17. test-kitchen

    Test Kitchen is an integration tool for developing and testing infrastructure code and software on isolated target platforms

  18. DuckRails

    Development tool to mock API endpoints quickly and easily (docker image available)

  19. ffaker

    Faker refactored.

  20. Watir

    Watir Powered By Selenium

  21. Spork

    A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.

  22. cuprite

    Headless Chrome/Chromium driver for Capybara

  23. Appraisal

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

  24. mocha

    A mocking and stubbing library for Ruby (by freerange)

  25. Machinist

    Fixtures aren't fun. Machinist is.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Ruby Testing discussion

Ruby Testing related posts

  • Automated code reviews via mutation testing

    1 project | news.ycombinator.com | 6 Oct 2025
  • Helpful Settings When Running RSpec with parallel_tests

    1 project | dev.to | 2 Sep 2025
  • A library for setting up Ruby objects as test data

    1 project | news.ycombinator.com | 3 May 2025
  • Catch JS Errors with Playwright

    1 project | dev.to | 26 Mar 2025
  • 30,656 Pages of Books About the .NET Ecosystem: C#, Blazor, ASP.NET, & T-SQL

    6 projects | dev.to | 16 Mar 2025
  • Ruby "Thread Contention" Is Simply GVL Queuing

    2 projects | news.ycombinator.com | 4 Feb 2025
  • Show HN: Track Deprecation Warnings in Prod

    2 projects | news.ycombinator.com | 19 Dec 2024
  • A note from our sponsor - Stream
    getstream.io | 22 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

What are some of the best open-source Testing projects in Ruby? This list will help you:

# Project Stars
1 faker 11,577
2 Capybara 10,133
3 factory_bot 8,364
4 vcr 6,007
5 WebMock 4,039
6 shoulda-matchers 3,560
7 Parallel Tests 3,484
8 timecop 3,410
9 minitest 3,377
10 inspec 3,022
11 Database Cleaner 2,961
12 Spring 2,817
13 mutant 2,053
14 Ruby Tests Profiling Toolbox 1,990
15 test-kitchen 1,894
16 DuckRails 1,717
17 ffaker 1,564
18 Watir 1,547
19 Spork 1,394
20 cuprite 1,347
21 Appraisal 1,311
22 mocha 1,267
23 Machinist 1,116

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Ruby is
the 12th most popular programming language
based on number of references?