Testing Gems

#Total RankDaily RankNameSummary
11926minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, ...
22637rspecBDD for Ruby
311892webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4133147knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
5135186capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
6137185selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
7146179factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
8153193fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
9181261timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
10186283springPreloads your application so things like console, rake and tests run faster
11192229shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
12313373vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
13314353parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
14471499cucumberBehaviour Driven Development with elegance and joy
15651593mochaMocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbi...
16667561test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
177291,446fuubarthe instafailing RSpec progress bar formatter
18741559power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
19746687ffakerFfaker generates dummy data.
20747496rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
211,0862,017poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
221,1331,420watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
231,348867undercoverActionable code coverage - detects untested code blocks in recent changes
241,9432,438rrRR is a test double framework that features a rich selection of double techniques and a...
252,0002,510minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
262,0232,268fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Se...
272,032917appraisalAppraisal integrates with bundler and rake to test your library against different versi...
282,0902,642sporkA forking Drb spec server
292,2631,960cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
302,6283,964forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
312,8701,809arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
323,5434,204test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
333,8785,832spinachSpinach is a BDD framework on top of gherkin
343,9014,835ruby-jmeterRuby based DSL for writing JMeter test plans
353,9312,686puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
364,1115,417machinistFixtures aren't fun. Machinist is.
374,2252,705rspec-watcherAutomatically runs specs in reaction to changes in files. Loads the project once and us...
384,7915,721nyan-cat-formatterNyan Cat inspired RSpec formatter!
394,9576,001onceoverAutomatically generates tests for your Puppet code
405,18814,831konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
417,0987,692cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
427,1535,275chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
437,3835,336cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
447,98410,690baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
458,0755,495workato-connector-sdkReproduce key concepts of Workato SDK, DSL, behavior and constraints.
469,19644,241active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
479,8338,504faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4810,5145,682rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
4911,15922,090matchiMatchi is a framework-agnostic Ruby library that provides a comprehensive set of expect...
5011,36313,306cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
5112,7017,894mutant-minitestMinitest integration for mutant
5213,16512,892cutestRun tests in separate processes to avoid shared state.
5314,92644,241cucumber_analyticsStatic analysis of Cucumber tests made easy.
5415,06944,241api_tasterA quick and easy way to visually test out your application's API.
5515,83233,696spectusExpectation library with RFC 2119's requirement levels 🚥
5616,15413,830howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5717,24092,133fixFix is a modern Ruby testing framework built around a key architectural principle: the ...
5823,38814,015cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
5925,98425,748ruby_raiderThis gem has everything you need to start working with test automation
6026,33020,970gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
6129,68044,241cuketaggerbatch tagging of cucumber features and scenarios
6230,33025,748r_specA minimalist RSpec clone with all the essentials.
6333,79025,748zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6443,39520,970brutalA code-first approach to automate the writing of unit tests.
6544,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6657,44944,241emoji-rspecCustom formatters for RSpec tests.
6770,50692,133fake_personA Ruby library for creating fake personalities
6876,63044,241capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
6989,64925,748like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
70111,27744,241cuke_commanderProvides an easy way to build a cucumber commandline.
71148,65233,696capybara-react-datetimeHelper for changing date input of react-datetime library
72155,95592,133rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...
73164,02322,090importmap_mocha-railsAdd JavaScript testing tools in importmap-rails environment.
74172,93033,696cucoA simple and flexible file watcher
75174,64592,133haml-lint-bootstrapA simple HAML-Lint plugin used for linting HAML files utilizing Bootstrap. Supported Bo...
76183,09444,241faker-gpkFaker extension for Garbage Pail Kids