The Ruby Toolbox - Know your options!

rspec

35.68
BDD for Ruby
 Popularity
Downloads
151,465,703
Stars
2,175
Forks
186
Watchers
95
 Releases
Total releases
164
First release
Latest release

minitest

28.97
minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking. "I had a class with Jim Weirich on testing last week and we were allowed to choose our testing frameworks. Kirk Haines and I were paired up and we cracked open the code for a few test frameworks... I MUST say that minitest is *very* readable / understandable compared to the 'other two' options we looked at. Nicely done and thank you for helping us keep our mental sanity." -- Wayne E. Seguin minitest/test is a small and incredibly fast unit testing framework. It provides a rich set of assertions to make your tests clean and readable. minitest/spec is a functionally complete spec engine. It hooks onto minitest/test and seamlessly bridges test assertions over to spec expectations. minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. Now you can assert that your newb co-worker doesn't replace your linear algorithm with an exponential one! minitest/mock by Steven Baker, is a beautifully tiny mock (and stub) object framework. minitest/pride shows pride in testing and adds coloring to your test output. I guess it is an example of how to write IO pipes too. :P minitest/test is meant to have a clean implementation for language implementors that need a minimal set of methods to bootstrap a working test suite. For example, there is no magic involved for test-case discovery. "Again, I can't praise enough the idea of a testing/specing framework that I can actually read in full in one sitting!" -- Piotr Szotkowski Comparing to rspec: rspec is a testing DSL. minitest is ruby. -- Adam Hawkins, "Bow Before MiniTest" minitest doesn't reinvent anything that ruby already provides, like: classes, modules, inheritance, methods. This means you only have to learn ruby to use minitest and all of your regular OO practices like extract-method refactorings still apply.
 Popularity
Downloads
120,629,875
Stars
2,334
Forks
396
Watchers
64
 Releases
Total releases
108
First release
Latest release

test-unit

2.3
test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. These were originally designed by Kent Beck, creator of extreme programming software development methodology, for Smalltalk's SUnit. It allows writing tests, checking results and automated testing in Ruby.
 Popularity
Downloads
9,353,379
Stars
165
Forks
71
Watchers
20
 Releases
Total releases
62
First release
Latest release

bacon

0.27
Bacon is a small RSpec clone weighing less than 350 LoC but nevertheless providing all essential features. http://github.com/chneukirchen/bacon
 Popularity
Downloads
243,431
Stars
406
Forks
62
Watchers
14
 Releases
Total releases
4
First release
Latest release

wrong

0.21
Wrong provides a general assert method that takes a predicate block. Assertion failure messages are rich in detail. The Wrong idea is to replace all those countless assert_this, assert_that library methods which only exist to give a more useful failure message than "assertion failed". Wrong replaces all of them in one fell swoop, since if you can write it in Ruby, Wrong can make a sensible failure message out of it. Also provided are several helper methods, like rescuing, capturing, and d.
 Popularity
Downloads
180,674
Stars
425
Forks
30
Watchers
10
 Releases
Total releases
36
First release
Latest release

riot

0.16
An extremely fast, expressive, and context-driven unit-testing framework. A replacement for all other testing frameworks. Protest the slow test.
 Popularity
Downloads
107,680
Stars
319
Forks
24
Watchers
15
 Releases
Total releases
44
First release
Latest release

rubydoctest

0.1
Ruby version of Python's doctest tool, but a bit different.
 Popularity
Downloads
235,563
Stars
90
Forks
13
Watchers
8
 Releases
Total releases
5
First release
Latest release

shindo

0.08
Work with your tests, not against them.
 Popularity
Downloads
181,240
Stars
74
Forks
12
Watchers
2
 Releases
Total releases
39
First release
Latest release

testrocket

0.05
A super lightweight lamdba-based testing library for Ruby
 Popularity
Downloads
3,490
Stars
164
Forks
3
Watchers
5
 Releases
Total releases
2
First release
Latest release

testy

0.04
testy
 Popularity
Downloads
2,715
Stars
97
Forks
6
Watchers
3
 Releases
Total releases
1
First release
Latest release

micronaut

0.03
An excellent replacement for the wheel...
 Popularity
Downloads
6,446
Stars
77
Forks
3
Watchers
3
 Releases
Total releases
2
First release
Latest release

assert

0.03
Assertion style testing framework.
 Popularity
Downloads
103,436
Stars
8
Forks
1
Watchers
3
 Releases
Total releases
50
First release
Latest release

test_inline

0.01
test_inline allows you to place your automated testing right next to the code being tested much like RDoc allows you to put your documentation right next to the code being documented. See the README for the rational for why you would want to do this.
 Popularity
Downloads
38,578
Stars
7
Forks
1
Watchers
2
 Releases
Total releases
22
First release
Latest release

kintama

0.01
It's for writing tests.
 Popularity
Downloads
18,575
 Releases
Total releases
11
First release
Latest release

dtf

0.01
DTF is a modular testing framework skeleton. This is the control gem containing the db schema(s) and command-line script.
 Popularity
Downloads
39,942
Stars
14
Forks
1
Watchers
2
 Releases
Total releases
20
First release
Latest release

lemon

0.01
Lemon is a unit testing framework that tightly correlates class to test case and method to test unit.
 Popularity
Downloads
29,774
Stars
6
Forks
0
Watchers
1
 Releases
Total releases
11
First release
Latest release

detest

0.0
Detest is an assertion testing library for [Ruby] that features a simple assertion vocabulary, instant debuggability of failures, and flexibility in composing tests.
 Popularity
Downloads
10,571
 Releases
Total releases
4
First release
Latest release