Testing Gems

#Total RankDaily RankNameSummary
1197minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, ...
22576rspecBDD for Ruby
3120136webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4137164capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
5139160selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
6149143factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
7150179fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
815263knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
9173292timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
10182238springPreloads your application so things like console, rake and tests run faster
11193191shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
12303459vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
13312355parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
14456859cucumberBehaviour Driven Development with elegance and joy
15627871mochaMocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbi...
16648575test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
17708539fuubarthe instafailing RSpec progress bar formatter
18742567power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
19760548ffakerFfaker generates dummy data.
20774455rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
211,0261,939poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
221,0921,540watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
231,437674undercoverActionable code coverage - detects untested code blocks in recent changes
241,8722,331rrRR is a test double framework that features a rich selection of double techniques and a...
251,9592,062minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
261,9872,061fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Se...
272,0103,719sporkA forking Drb spec server
282,0681,686appraisalAppraisal integrates with bundler and rake to test your library against different versi...
292,3461,681cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
302,5503,674forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
312,8443,995arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
323,4503,843test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
333,7297,603spinachSpinach is a BDD framework on top of gherkin
343,8354,371ruby-jmeterRuby based DSL for writing JMeter test plans
353,9865,283machinistFixtures aren't fun. Machinist is.
363,9932,637puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
374,6475,887nyan-cat-formatterNyan Cat inspired RSpec formatter!
384,8544,895onceoverAutomatically generates tests for your Puppet code
394,94810,201konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
406,9218,267cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
417,3334,257chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
427,4014,890cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
437,55211,711baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
448,8174,523workato-connector-sdkReproduce key concepts of Workato SDK, DSL, behavior and constraints.
458,88925,792active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
469,8908,172faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4710,7807,720rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
4811,05515,361cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
4911,3097,807matchiCollection of expectation matchers for Rubyists 🤹
5012,5899,508mutant-minitestMinitest integration for mutant
5112,87524,241cutestRun tests in separate processes to avoid shared state.
5214,51974,510cucumber_analyticsStatic analysis of Cucumber tests made easy.
5314,66474,510api_tasterA quick and easy way to visually test out your application's API.
5415,62138,694spectusExpectation library with RFC 2119's requirement levels 🚥
5516,12912,984howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5617,11847,329fixSpecing framework for Ruby.
5723,70816,797cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
5826,11527,620gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
5927,46530,170ruby_raiderThis gem has everything you need to start working with test automation
6029,08138,694cuketaggerbatch tagging of cucumber features and scenarios
6130,21774,510r_specA minimalist RSpec clone with all the essentials.
6233,33974,510zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6343,81447,329brutalA code-first approach to automate the writing of unit tests.
6444,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6556,60474,510emoji-rspecCustom formatters for RSpec tests.
6669,85474,510fake_personA Ruby library for creating fake personalities
6777,59530,170capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
6889,30874,510like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
69110,52547,329cuke_commanderProvides an easy way to build a cucumber commandline.
70147,97274,510capybara-react-datetimeHelper for changing date input of react-datetime library
71155,86447,329rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...
72171,41274,510importmap_mocha-railsAdd JavaScript testing tools in importmap-rails environment.
73173,67574,510haml-lint-bootstrapA simple HAML-Lint plugin used for linting HAML files utilizing Bootstrap. Supported Bo...
74175,92447,329cucoA simple and flexible file watcher