RubyGems Navigation menu

mocha 2.7.0

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

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. 2.7.0 December 07, 2024 (67.5 KB)
Show all versions (115 total)

Runtime Dependencies (1):

ruby2_keywords >= 0.0.5

Owners:

Pushed by:

Authors:

  • James Mead

SHA 256 checksum:

=

Total downloads 89,108,233

For this version 21,689

Version Released:

Licenses:

MIT, BSD-2-Clause

Required Ruby Version: >= 2.1

New versions require MFA: true

Links: