Bad news. The server hosting The Ruby Toolbox went bust on the evening of June 7th. While I do have backups, the original source code is in a very outdated state so I currently don't feel it makes sense to try and get it running again.

For the time being, here is a very stripped down version of the Ruby Toolbox's contents.

Update June 13th: I'd like to invite you to join the discussion on the future of the Toolbox on github. You can also get in touch directly on Twitter.

Christoph

Category
Mocking

 Score 21.79

rspec-mocks

RSpec's 'test double' framework, with support for stubbing and mocking

 Rubygem rspec-mocks
 Score 6.13

Mocha

Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes.

 Rubygem mocha
 Github freerange/mocha
 Score 1.13

mock_redis

Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.

 Rubygem mock_redis
 Score 0.77

RR

RR is a test double framework that features a rich selection of double techniques and a terse syntax.

 Rubygem rr
 Github rr/rr
 Score 0.34

Flexmock

FlexMock is a extremely simple mock object class compatible with the Minitest framework. Although the FlexMock's interface is simple, it is very flexible.

 Rubygem flexmock
 Score 0.24

bogus

Decreases the need to write integration tests by ensuring that the things you stub or mock actually exist.

 Rubygem bogus
 Github psyho/bogus
 Score 0.14

Stump

 Github jm/stump
 Score 0.07

spy

Spy is a mocking library that was made for the modern age. It supports only 1.9.3+. Spy by default will raise an error if you attempt to stub a method that doesn't exist or call the stubbed method with the wrong arity.

 Rubygem spy
 Github ryanong/spy
 Score 0.06

surrogate

Framework to aid in handrolling mock/spy objects.

 Rubygem surrogate
 Score 0.05

Facon

A mocking library in the spirit of the Bacon spec library. Small, compact, and works with Bacon.

 Rubygem facon
 Github chuyeow/facon
 Score 0.03

verified_double

Contract tests for rspec

 Score 0.03

simple_mock

A fast, tiny (82 lines) hybrid mocking library that supports classical and partial mocking. Partial mocking mixes classical mocking with real objects. There's no monkey patching `Object` or copying. Mock objects are isolated leaving real objects completely untainted.

 Rubygem simple_mock
 Score 0.02

Cross-stub

Simple cross process stubbing

 Rubygem cross-stub
 Github ngty/cross-stub
 Score 0.02

mocoso

A simple stub & mock library.

 Rubygem mocoso
 Github frodsan/mocoso