RubyGems Navigation menu

mocha 0.1.2

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.1.0 March 14, 2026 (71.5 KB)
  2. 3.0.2 February 13, 2026 (71 KB)
  3. 3.0.1 December 17, 2025 (70.5 KB)
  4. 3.0.0 December 15, 2025 (70.5 KB)
  5. 3.0.0.pre.rc.2 November 11, 2025 (70.5 KB)
  6. 0.1.2 July 15, 2006* (18 KB)
Show all versions (115 total)

Owners:

Authors:

  • James Mead

SHA 256 checksum:

=

Total downloads 89,648,988

For this version 5,478

Version Released:

Licenses:

N/A

Required Ruby Version: > 0.0.0

New versions require MFA: true

Links: