RubyGems Navigation menu

mocha 0.2.0

Mocking and stubbing library with JMock/SchMock syntax, which allows mocking and stubbing of methods on real (non-mock) classes. Includes auto-mocking which magically provides mocks for undefined classes, facilitating unit tests with no external dependencies.

Gemfile:
=

install:
=

Versions:

  1. 3.0.1 December 17, 2025 (70.5 KB)
  2. 3.0.0 December 15, 2025 (70.5 KB)
  3. 3.0.0.pre.rc.2 November 11, 2025 (70.5 KB)
  4. 3.0.0.pre.rc.1 January 24, 2025 (69 KB)
  5. 2.8.2 November 15, 2025 (69 KB)
  6. 0.2.0 August 10, 2006* (20 KB)
Show all versions (113 total)

Owners:

Authors:

  • James Mead

SHA 256 checksum:

=

Total downloads 83,212,858

For this version 5,363

Version Released:

Licenses:

N/A

Required Ruby Version: > 0.0.0

New versions require MFA: true

Links: