Testing Gems

#Total RankDaily RankNameSummary
11454rspecBDD for Ruby
22116minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, ...
3123126webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4136146capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
5142141selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
6153136fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
7155151timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
8162123factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
9169181springPreloads your application so things like console, rake and tests run faster
10180160knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
11185166shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
12308286vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
13368254parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
14435717cucumberBehaviour Driven Development with elegance and joy
15571929mochaMocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbi...
16630611test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
17735627fuubarthe instafailing RSpec progress bar formatter
18753607power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
19776804ffakerFfaker generates dummy data.
208141,772poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
21873672rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
221,0871,706watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
231,6771,325rrRR is a test double framework that features a rich selection of double techniques and a...
241,6892,652sporkA forking Drb spec server
251,7581,264minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
261,8432,145fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Se...
271,9231,228undercoverActionable code coverage - detects untested code blocks in recent changes
282,0382,397appraisalAppraisal integrates with bundler and rake to test your library against different versi...
292,2102,993forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
302,4114,096arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
312,9892,584cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
323,0346,787spinachSpinach is a BDD framework on top of gherkin
333,1695,067test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
343,3224,922ruby-jmeterRuby based DSL for writing JMeter test plans
353,3397,027machinistFixtures aren't fun. Machinist is.
363,9914,043nyan-cat-formatterNyan Cat inspired RSpec formatter!
374,1049,562konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
384,2324,056puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
394,3985,443onceoverAutomatically generates tests for your Puppet code
406,49113,806baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
417,2944,534cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
427,6049,336active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
439,0777,362chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
449,9345,955cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
4510,18610,863cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
4611,18815,929cutestRun tests in separate processes to avoid shared state.
4711,6477,663faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4811,95114,326matchiCollection of expectation matchers for Rubyists 🤹
4912,21721,169cucumber_analyticsStatic analysis of Cucumber tests made easy.
5012,690153,888api_tasterA quick and easy way to visually test out your application's API.
5113,2066,134mutant-minitestMinitest integration for mutant
5213,2687,027rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
5314,34112,372spectusExpectation library with RFC 2119's requirement levels 🚥
5415,88413,965fixSpecing framework for Ruby.
5516,04914,135howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5624,95519,908cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
5725,67116,228gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
5826,37333,644cuketaggerbatch tagging of cucumber features and scenarios
5930,43617,211r_specA minimalist RSpec clone with all the essentials.
6031,54929,727zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6144,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6247,693153,888brutalA code-first approach to automate the writing of unit tests.
6353,04361,072emoji-rspecCustom formatters for RSpec tests.
6455,03611,114ruby_raiderThis gem has everything you need to start working with test automation
6567,45661,072fake_personA Ruby library for creating fake personalities
6684,619153,888capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
6791,41153,453like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
68107,54186,723cuke_commanderProvides an easy way to build a cucumber commandline.
69153,360153,888capybara-react-datetimeHelper for changing date input of react-datetime library
70155,40286,723rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...