Testing Gems

#Total RankDaily RankNameSummary
1146minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, and bench...
229106rspecBDD for Ruby
3118139webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4133100knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
5145193capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
6147227selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
7148150factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
8154184fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
9203217shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
10207288timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
11214361springPreloads your application so things like console, rake and tests run faster
12321295parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
13330342vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
14527704cucumberBehaviour Driven Development with elegance and joy
15545738test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
16551562mochaA library for mocking and stubbing with a unified, simple and readable syntax for both ...
17649814power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
18737731rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
19787944ffakerFfaker generates dummy data.
20792972fuubarthe instafailing RSpec progress bar formatter
211,1632,014watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
221,2552,315poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
231,4362,371undercoverActionable code coverage - detects untested code blocks in recent changes
241,9781,239appraisalAppraisal integrates with bundler and rake to test your library against different versi...
252,0232,331minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
262,0941,859fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, Sequel, or any...
272,1022,574rrRR is a test double framework that features a rich selection of double techniques and a...
282,3254,430sporkA forking Drb spec server
292,3392,665cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
302,7513,153forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
313,0642,780arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
323,6535,301rspec-watcherAutomatically runs specs in reaction to changes in files. Loads the project once and us...
333,7674,257test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
343,9574,260puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
354,2146,682ruby-jmeterRuby based DSL for writing JMeter test plans
364,3278,481spinachSpinach is a BDD framework on top of gherkin
374,4896,561machinistFixtures aren't fun. Machinist is.
385,1977,925nyan-cat-formatterNyan Cat inspired RSpec formatter!
395,3747,554onceoverAutomatically generates tests for your Puppet code
405,83115,579konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
416,9505,595chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
427,3996,561cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
437,5416,296workato-connector-sdkReproduce key concepts of Workato SDK, DSL, behavior and constraints.
447,7696,943cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
457,9327,416baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
469,1878,943rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
4710,18422,212active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
4810,21110,189faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4911,59421,644matchiMatchi provides small, explicit expectation matchers for any Ruby testing framework. Th...
5011,9046,134mutant-minitestMinitest integration for mutant
5112,15011,145cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
5213,75914,025cutestRun tests in separate processes to avoid shared state.
5316,24624,529spectusAn expectation is a level (MUST, SHOULD or MAY), a negation and a matcher; called with ...
5416,2602,635ruby_llm-testProvides a RubyLLM::Provider that allows you to stub responses for testing purposes. Yo...
5516,52589,752api_tasterA quick and easy way to visually test out your application's API.
5616,61918,315cucumber_analyticsStatic analysis of Cucumber tests made easy.
5717,02231,045howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5817,56319,490fixA specification says what a subject MUST, SHOULD or MAY do, and nothing about how it is...
5920,71712,299cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
6022,0268,555ruby_raiderThis gem has everything you need to start working with test automation
6126,29631,045gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
6230,59089,752r_specA minimalist RSpec clone with all the essentials.
6331,64922,846cuketaggerbatch tagging of cucumber features and scenarios
6435,71589,752zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6538,93534,763brutalWrites framework-free Ruby test files from YAML manifests: runs every combination of a ...
6644,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6759,34989,752emoji-rspecCustom formatters for RSpec tests.
6872,31455,240fake_personA Ruby library for creating fake personalities
6975,96334,763capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
7094,85189,752like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
71114,39028,714cuke_commanderProvides an easy way to build a cucumber commandline.
72123,90922,846cucoA simple and flexible file watcher
73136,80555,240importmap_mocha-railsAdd JavaScript testing tools in importmap-rails environment.
74148,71589,752capybara-react-datetimeHelper for changing date input of react-datetime library
75150,89389,752rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...
76179,38989,752haml-lint-bootstrapA simple HAML-Lint plugin used for linting HAML files utilizing Bootstrap. Supported Bo...
77187,36855,240faker-gpkFaker extension for Garbage Pail Kids
78197,08389,752shmactorGet Simplecov coverage on your ractor code (for now)