Awesome Ruby Testing

  • updated over 3 years ago MIT License

    Action Cable testing utils

  • updated over 4 years ago MIT License

    Generate mocks from ActiveRecord models for unit tests that run fast because they don’t need to load Rails or a database.

  • appraisal appraisal 1,194
    star
    updated 9 months ago MIT License

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

  • aruba aruba 948
    star
    updated 4 months ago MIT License

    Test command-line applications with Cucumber-Ruby, RSpec or Minitest.

  • awspec awspec 1,164
    star
    updated about 2 months ago MIT License

    RSpec tests for your AWS resources.

  • capybara capybara 9,953
    star
    updated about 1 month ago MIT License

    Acceptance test framework for web applications

  • updated over 1 year ago MIT License

    Automatically save screen shots when a Capybara scenario fails

  • cql cql 24
    star
    updated almost 2 years ago MIT License

    A query language for Gherkin

  • updated 6 months ago MIT License

    Rails Generators for Cucumber with special support for Capybara and DatabaseCleaner

  • updated 3 months ago MIT License

    Cucumber for Ruby. It's amazing!

  • updated 7 months ago MIT License

    A gem to model a Cucumber test suite.

  • cutest cutest 154
    star
    updated almost 7 years ago MIT License

    Isolated tests in Ruby.

  • updated 3 months ago MIT License

    Use cypress.io or playwright.dev with your rails application

  • duckrails duckrails 1,717
    star
    updated 10 months ago MIT License

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

  • updated over 10 years ago MIT License

    Custom Emoji Formatters for RSpec

  • updated 8 months ago MIT License

    A library for setting up Ruby objects as test data.

  • updated 8 months ago MIT License

    Factory Bot β™₯ Rails

  • updated over 9 years ago

    Create some fake personalities

  • faker faker 11,115
    star
    updated 7 days ago MIT License

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

  • ferrum ferrum 1,582
    star
    updated 3 months ago MIT License

    Headless Chrome Ruby API

  • ffaker ffaker 1,528
    star
    updated 6 months ago MIT License

    Faker refactored.

  • fix fix 45
    star
    updated about 2 months ago MIT License

    Specing framework.

  • updated almost 4 years ago MIT License

    Easy and customizable generation of forged data.

  • fuubar fuubar 935
    star
    updated about 2 years ago MIT License

    The instafailing RSpec progress bar formatter

  • updated 11 months ago MIT License

    run all your test against a GitHub Pull request

  • updated about 1 year ago MIT License

    A Ruby-based framework for acceptance testing

  • minitest minitest 3,217
    star
    updated 3 months ago

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

  • mocha mocha 1,188
    star
    updated 4 months ago Other

    Mocha is a mocking and stubbing library for Ruby

  • mutant mutant 1,925
    star
    updated 7 days ago Other

    Automated code reviews via mutation testing - semantic code coverage.

  • updated about 4 years ago MIT License

    Nyan Cat inspired RSpec formatter!

  • updated almost 3 years ago MIT License

    Gem to implement PageObject pattern in watir-webdriver and selenium-webdriver

  • updated 8 months ago

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

  • updated 3 months ago MIT License

    Rack::Test is a small, simple testing API for Rack apps.

  • rr rr 319
    star
    updated almost 2 years ago MIT License

    RR is a test double framework that features a rich selection of double techniques and a terse syntax. β›Ί

  • rspec rspec 1,744
    star
    updated almost 9 years ago MIT License

    Behaviour Driven Development framework for Ruby

  • updated about 1 month ago MIT License

    RSpec runner and formatters

  • updated about 1 month ago MIT License

    Provides a readable API to express expected outcomes of a code example

  • updated about 1 month ago MIT License

    RSpec for Rails 6+

  • updated over 1 year ago MIT License

    DNS mock server written on πŸ’Ž Ruby. Mimic any DNS records for your test environment with fake DNS server.

  • updated 6 months ago MIT License

    A Ruby based DSL for building JMeter test plans

  • updated about 1 year ago MIT License

    πŸ’Ž Ruby SMTP mock. Mimic any πŸ“€ SMTP server behavior for your test environment with fake SMTP server.

  • updated 8 months ago MIT License

    RSpec tests for your servers configured by CFEngine, Puppet, Chef, Ansible, Itamae or anything else even by hand

  • shoulda shoulda 2,184
    star
    updated 6 months ago MIT License

    Makes tests easy on the fingers and the eyes

  • updated 17 days ago MIT License

    Simple one-liner tests for common Rails functionality

  • simplecov simplecov 4,702
    star
    updated about 1 month ago MIT License

    Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites

  • updated about 2 months ago MIT License

    Spinach is a BDD framework on top of Gherkin.

  • spring spring 2,782
    star
    updated 4 months ago MIT License

    Rails application preloader

  • updated 3 months ago MIT License

    Principled Test Framework for Ruby and MRuby

  • test-prof test-prof 1,777
    star
    updated about 2 months ago MIT License

    Ruby Tests Profiling Toolbox

  • updated over 7 years ago Other

    Small library to test your xml with Test::Unit or RSpec

  • timecop timecop 3,333
    star
    updated about 1 month ago MIT License

    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.

  • updated 12 days ago MIT License

    Run RSpec tests on multiple cores. Like parallel_tests but with incremental summarized output. Originally extracted from the Discourse and Rubygems source code.

  • vcr vcr 5,737
    star
    updated 2 months ago Other

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

  • watir watir 1,493
    star
    updated 9 months ago MIT License

    Watir Powered By Selenium

  • webmock webmock 3,887
    star
    updated about 1 month ago MIT License

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

  • zapata zapata 414
    star
    updated about 4 years ago MIT License

    An Automatic Automated Test Writer