Testing Gems

#Total RankDaily RankNameSummary
1149minitestminitest provides a complete suite of testing facilities supporting TDD, BDD, and bench...
22951rspecBDD for Ruby
3117133webmockWebMock allows stubbing HTTP requests and setting expectations on HTTP requests.
4134280knapsackParallel tests across CI server nodes based on each test file's time execution. It gene...
5144178capybaraCapybara is an integration testing tool for rack based web applications. It simulates h...
6146162selenium-webdriverSelenium implements the W3C WebDriver protocol to automate popular browsers. It aim...
7147200factory_botfactory_bot provides a framework and DSL for defining and using factories - less error-...
8152202fakerFaker, a port of Data::Faker from Perl, is used to easily generate fake data: names, ad...
9199330timecopA gem providing "time travel" and "time freezing" capabilities, making it dead simple t...
10200259shoulda-matchersShoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rail...
11208369springPreloads your application so things like console, rake and tests run faster
12324295parallel_testsRun Test::Unit / RSpec / Cucumber / Spinach in parallel
13327359vcrRecord your test suite's HTTP interactions and replay them during future test runs for ...
14513527cucumberBehaviour Driven Development with elegance and joy
15552308mochaA library for mocking and stubbing with a unified, simple and readable syntax for both ...
16558182test-unittest-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. T...
17699198power_assertPower Assert shows each value of variables and method calls in the expression. It is us...
18739616rspec-parameterizedRSpec::Parameterized supports simple parameterized test syntax in rspec.
197771,431ffakerFfaker generates dummy data.
207901,127fuubarthe instafailing RSpec progress bar formatter
211,1421,044watirWatir stands for Web Application Testing In Ruby It facilitates the writing of automate...
221,2262,013poltergeistPoltergeist is a driver for Capybara that allows you to run your tests on a headless We...
231,4022,015undercoverActionable code coverage - detects untested code blocks in recent changes
241,995844appraisalAppraisal integrates with bundler and rake to test your library against different versi...
251,9962,284minitest-hooksminitest-hooks adds around and before_all/after_all/around_all hooks for Minitest. This...
262,0731,824rrRR is a test double framework that features a rich selection of double techniques and a...
272,0802,236fabricationFabrication is an object generation framework for ActiveRecord, Mongoid, Sequel, or any...
282,2834,217sporkA forking Drb spec server
292,3212,946cuke_modelerThis gem facilitates modeling a test suite that is written in Gherkin (e.g. Cucumber, S...
302,7183,942forgeryEasy and customizable generation of forged data. Can be used as a gem or a rails plugin...
313,0411,890arubaExtension for popular TDD and BDD frameworks like "Cucumber", "RSpec" and "Minitest", t...
323,5869,393rspec-watcherAutomatically runs specs in reaction to changes in files. Loads the project once and us...
333,7254,369test_xmlTest your XML with Test::Unit, MiniTest, RSpec, or Cucumber using handy assertions like...
343,9253,581puppet_litmusProviding a simple command line tool for puppet content creators, to enable simple and ...
354,1297,098ruby-jmeterRuby based DSL for writing JMeter test plans
364,2415,920spinachSpinach is a BDD framework on top of gherkin
374,4165,569machinistFixtures aren't fun. Machinist is.
385,0999,613nyan-cat-formatterNyan Cat inspired RSpec formatter!
395,2944,611onceoverAutomatically generates tests for your Puppet code
405,7238,786konachaKonacha is a Rails engine that allows you to test your JavaScript with the mocha test f...
416,9927,875chutneyA linter for your Cucumber features. Making sure you have nice, expressible Gherkin is ...
427,4009,613cuke_linterThis gem provides linters for detecting common 'smells' in `.feature` files. In additio...
437,5809,021workato-connector-sdkReproduce key concepts of Workato SDK, DSL, behavior and constraints.
447,69824,575cuke_slicerSlices a Cucumber test suite into the smallest possible executable pieces (i.e. scenari...
457,9735,006baconBacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all ...
469,02810,834rspec-dry-structRSpec `have_attribute` matcher for dry-struct gem
479,9728,819active_mockerCreates stub classes from any ActiveRecord model. By using stubs in your tests you don'...
4810,1049,349faker_makerFakerMaker is a simple factory builder so you can throw away your fixtures and generate...
4911,4399,504matchiMatchi is a framework-agnostic Ruby library that provides a comprehensive set of expect...
5012,01511,933cqlCQL is a domain specific language used for querying a Cucumber (or other Gherkin based)...
5112,2866,034mutant-minitestMinitest integration for mutant
5213,6988,938cutestRun tests in separate processes to avoid shared state.
5316,20715,729api_tasterA quick and easy way to visually test out your application's API.
5416,26216,679cucumber_analyticsStatic analysis of Cucumber tests made easy.
5516,3108,450spectusExpectation library with RFC 2119's requirement levels 🚥
5616,72131,379howitzerHowitzer uses the best practices and design patterns allowing to generate a test projec...
5717,6949,229fixFix is a modern Ruby testing framework built around a key architectural principle: the ...
5821,01521,099cuke_catalogerScans existing Cucumber tests and updates them to include an id tag that is unique for ...
5923,3289,613ruby_raiderThis gem has everything you need to start working with test automation
6026,19416,348gitarrogitarro run tests on GitHub PRs using almost any script,language or binary, it integrat...
6130,21518,774r_specA minimalist RSpec clone with all the essentials.
6231,09221,099cuketaggerbatch tagging of cucumber features and scenarios
6335,13931,379zapataWho has time to write tests? This is a revolutional tool to make them write themselves.
6440,27915,177brutalA code-first approach to automate the writing of unit tests.
6544,25815,138mature_factoryconfigurable modules provide a tiny DSL for managing factory
6659,16542,164emoji-rspecCustom formatters for RSpec tests.
6771,35370,356fake_personA Ruby library for creating fake personalities
6875,528144,706capybara-wslAllows Capybara to open pages/screenshots in Windows browsers via Launchy.
6993,760144,706like_im_fiveLike Im Five generate a file with factories you need to test a specific object. It use ...
70113,33559,868cuke_commanderProvides an easy way to build a cucumber commandline.
71124,81622,659cucoA simple and flexible file watcher
72138,51938,645importmap_mocha-railsAdd JavaScript testing tools in importmap-rails environment.
73147,737106,124capybara-react-datetimeHelper for changing date input of react-datetime library
74149,662106,124rspec-log_matcherWriting logs is an easy way to store any kind of information for further analysis later...
75169,86138,645ruby_llm-testProvides a RubyLLM::Provider that allows you to stub responses for testing purposes. Yo...
76177,306106,124haml-lint-bootstrapA simple HAML-Lint plugin used for linting HAML files utilizing Bootstrap. Supported Bo...
77185,217106,124faker-gpkFaker extension for Garbage Pail Kids