Testing Gems

#Total RankDaily RankNameSummary
11523minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, ...
227106rspecBDD for Ruby
3115214webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4133167knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
5135179capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
6136223selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
7145227factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
8149173fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
9189330timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
10198271shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
11199423springPreloads your application so things like console, rake and tests run faster
12315393parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
13319404vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
14487530cucumberBehaviour Driven Development with elegance and joy
15646504mochaMocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbi...
16652521test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
17730528power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
18734627rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
197481,384ffakerFfaker generates dummy data.
207561,549fuubarthe instafailing RSpec progress bar formatter
211,134584watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
221,1462,169poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
231,3212,398undercoverActionable code coverage - detects untested code blocks in recent changes
241,9982,646rrRR is a test double framework that features a rich selection of double techniques and a...
252,0311,635appraisalAppraisal integrates with bundler and rake to test your library against different versi...
262,0421,666minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
272,0491,405fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, Sequel, or any...
282,1653,926sporkA forking Drb spec server
292,2781,955cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
302,6903,227forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
312,9282,762arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
323,4652,507rspec-watcherAutomatically runs specs in reaction to changes in files. Loads the project once and us...
333,5953,774test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
343,8923,703puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
353,9585,919ruby-jmeterRuby based DSL for writing JMeter test plans
363,9676,813spinachSpinach is a BDD framework on top of gherkin
374,2248,495machinistFixtures aren't fun. Machinist is.
384,8856,528nyan-cat-formatterNyan Cat inspired RSpec formatter!
395,0346,252onceoverAutomatically generates tests for your Puppet code
405,3528,007konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
417,0665,843chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
427,2326,883cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
437,2837,266cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
447,9016,579workato-connector-sdkReproduce key concepts of Workato SDK, DSL, behavior and constraints.
458,1338,332baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
469,3488,113active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
479,8749,407faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4810,48239,186rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
4911,1717,776matchiMatchi is a framework-agnostic Ruby library that provides a comprehensive set of expect...
5011,5506,813cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
5112,6808,865mutant-minitestMinitest integration for mutant
5213,3058,007cutestRun tests in separate processes to avoid shared state.
5315,24914,343cucumber_analyticsStatic analysis of Cucumber tests made easy.
5415,39814,111api_tasterA quick and easy way to visually test out your application's API.
5515,9388,367spectusExpectation library with RFC 2119's requirement levels 🚥
5616,21610,654howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5717,31510,214fixFix is a modern Ruby testing framework built around a key architectural principle: the ...
5822,7507,304cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
5925,64325,075ruby_raiderThis gem has everything you need to start working with test automation
6026,27111,690gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
6129,97322,377cuketaggerbatch tagging of cucumber features and scenarios
6230,30717,308r_specA minimalist RSpec clone with all the essentials.
6334,02730,134zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6442,12513,455brutalA code-first approach to automate the writing of unit tests.
6544,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6657,65159,807emoji-rspecCustom formatters for RSpec tests.
6770,32459,807fake_personA Ruby library for creating fake personalities
6876,37131,695capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
6990,895153,037like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
70111,71775,360cuke_commanderProvides an easy way to build a cucumber commandline.
71147,348113,782capybara-react-datetimeHelper for changing date input of react-datetime library
72155,333113,782rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...
73158,44731,695importmap_mocha-railsAdd JavaScript testing tools in importmap-rails environment.
74160,11243,762cucoA simple and flexible file watcher
75175,486113,782haml-lint-bootstrapA simple HAML-Lint plugin used for linting HAML files utilizing Bootstrap. Supported Bo...
76183,324113,782faker-gpkFaker extension for Garbage Pail Kids