Testing Gems

#Total RankDaily RankNameSummary
12017minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, ...
22352rspecBDD for Ruby
3121182webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4137152capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
5141121selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
6151155fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
7154201factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
8161193knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
9165225timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
10177264springPreloads your application so things like console, rake and tests run faster
11193221shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
12304421vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
13322205parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
14444349cucumberBehaviour Driven Development with elegance and joy
15616886mochaMocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbi...
16631329test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
17716896fuubarthe instafailing RSpec progress bar formatter
18731337power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
197621,141ffakerFfaker generates dummy data.
20837322rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
219431,913poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
221,062597watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
231,5831,263undercoverActionable code coverage - detects untested code blocks in recent changes
241,7601,088rrRR is a test double framework that features a rich selection of double techniques and a...
251,8753,009minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
261,8872,059sporkA forking Drb spec server
271,9122,815fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, DataMapper, Se...
282,0731,623appraisalAppraisal integrates with bundler and rake to test your library against different versi...
292,4255,469forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
302,6151,070cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
312,7332,835arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
323,3913,689test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
333,5116,081spinachSpinach is a BDD framework on top of gherkin
343,6888,956ruby-jmeterRuby based DSL for writing JMeter test plans
353,7644,556machinistFixtures aren't fun. Machinist is.
364,0944,071puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
374,4299,993nyan-cat-formatterNyan Cat inspired RSpec formatter!
384,66433,384konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
394,7427,977onceoverAutomatically generates tests for your Puppet code
406,7348,435cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
417,1756,310baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
427,7666,481chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
438,2856,049cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
448,37749,414active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
4510,1117,476faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4610,67811,298cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
4710,8626,395workato-connector-sdkReproduce key concepts of Workato SDK, DSL, behavior and constraints.
4811,6408,351rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
4911,83017,475matchiCollection of expectation matchers for Rubyists 🤹
5012,38922,239cutestRun tests in separate processes to avoid shared state.
5112,53811,298mutant-minitestMinitest integration for mutant
5213,82049,414cucumber_analyticsStatic analysis of Cucumber tests made easy.
5314,03049,414api_tasterA quick and easy way to visually test out your application's API.
5415,2526,911spectusExpectation library with RFC 2119's requirement levels 🚥
5516,09114,443howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5616,71349,414fixSpecing framework for Ruby.
5724,16612,600cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
5825,98649,414gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
5928,23249,414cuketaggerbatch tagging of cucumber features and scenarios
6030,40649,414r_specA minimalist RSpec clone with all the essentials.
6132,66749,414zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6233,27227,579ruby_raiderThis gem has everything you need to start working with test automation
6344,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6444,99649,414brutalA code-first approach to automate the writing of unit tests.
6555,37849,414emoji-rspecCustom formatters for RSpec tests.
6668,87449,414fake_personA Ruby library for creating fake personalities
6780,00549,414capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
6889,73849,414like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
69109,48049,414cuke_commanderProvides an easy way to build a cucumber commandline.
70147,61449,414capybara-react-datetimeHelper for changing date input of react-datetime library
71155,79849,414rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...
72172,37949,414haml-lint-bootstrapA simple HAML-Lint plugin used for linting HAML files utilizing Bootstrap. Supported Bo...