Awesome Ruby Testing

  • updated almost 4 years ago MIT License

    Action Cable testing utils

  • updated over 5 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 over 1 year ago MIT License

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

  • aruba aruba 948
    star
    updated 2 months ago MIT License

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

  • awspec awspec 1,173
    star
    updated 4 months ago MIT License

    RSpec tests for your AWS resources.

  • capybara capybara 10,010
    star
    updated 4 months ago MIT License

    Acceptance test framework for web applications

  • updated about 2 years ago MIT License

    Automatically save screen shots when a Capybara scenario fails

  • cql cql 26
    star
    updated over 2 years ago MIT License

    A query language for Gherkin

  • updated 3 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 3 months ago MIT License

    A gem to model a Cucumber test suite.

  • cutest cutest 154
    star
    updated over 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. This Ruby gem lets you use your regular Rails test setup and clean-up, such as FactoryBot.

  • duckrails duckrails 1,717
    star
    updated over 1 year ago MIT License

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

  • updated about 11 years ago MIT License

    Custom Emoji Formatters for RSpec

  • updated over 1 year ago MIT License

    A library for setting up Ruby objects as test data.

  • updated over 1 year ago MIT License

    Factory Bot β™₯ Rails

  • updated about 10 years ago

    Create some fake personalities

  • faker faker 11,239
    star
    updated 3 months ago MIT License

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

  • ferrum ferrum 1,658
    star
    updated 8 months ago MIT License

    Headless Chrome Ruby API

  • ffaker ffaker 1,528
    star
    updated about 1 year ago MIT License

    Faker refactored.

  • fix fix 45
    star
    updated 10 months ago MIT License

    Specing framework.

  • updated over 4 years ago MIT License

    Easy and customizable generation of forged data.

  • fuubar fuubar 954
    star
    updated almost 3 years ago MIT License

    The instafailing RSpec progress bar formatter

  • updated over 1 year ago MIT License

    run all your test against a GitHub Pull request

  • updated almost 2 years ago MIT License

    A Ruby-based framework for acceptance testing

  • minitest minitest 3,295
    star
    updated 4 months ago

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

  • mocha mocha 1,209
    star
    updated 5 months ago Other

    A mocking and stubbing library for Ruby

  • mutant mutant 1,950
    star
    updated 2 months ago Other

    Automated code reviews via mutation testing - semantic code coverage.

  • updated over 4 years ago MIT License

    Nyan Cat inspired RSpec formatter!

  • updated over 3 years ago MIT License

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

  • updated over 1 year ago

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

  • updated 6 months ago MIT License

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

  • rr rr 320
    star
    updated 4 months ago MIT License

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

  • rspec rspec 1,739
    star
    updated over 9 years ago MIT License

    Behaviour Driven Development framework for Ruby

  • updated 3 months ago MIT License

    RSpec runner and formatters

  • updated 4 months ago MIT License

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

  • updated 3 months ago MIT License

    RSpec for Rails 6+

  • updated almost 2 years ago MIT License

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

  • updated about 1 year ago MIT License

    A Ruby based DSL for building JMeter test plans

  • updated almost 2 years ago MIT License

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

  • updated over 1 year ago MIT License

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

  • shoulda shoulda 2,196
    star
    updated 4 months ago MIT License

    Makes tests easy on the fingers and the eyes

  • updated 2 months ago MIT License

    Simple one-liner tests for common Rails functionality

  • simplecov simplecov 4,760
    star
    updated 3 months ago MIT License

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

  • updated 4 months ago MIT License

    Spinach is a BDD framework on top of Gherkin.

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

    Rails application preloader

  • updated 5 months ago MIT License

    Principled Test Framework for Ruby and MRuby

  • test-prof test-prof 1,858
    star
    updated 4 months ago MIT License

    Ruby Tests Profiling Toolbox

  • updated about 8 years ago Other

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

  • timecop timecop 3,364
    star
    updated 4 months 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 5 months 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,799
    star
    updated 5 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 over 1 year ago MIT License

    Watir Powered By Selenium

  • webmock webmock 3,942
    star
    updated 5 months ago MIT License

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

  • zapata zapata 413
    star
    updated almost 5 years ago MIT License

    An Automatic Automated Test Writer