RubyGems Navigation menu

mocha 3.0.2

A library for mocking and stubbing with a unified, simple and readable syntax for both full & partial mocking. Built-in support for Minitest and Test::Unit. Supported by many other test frameworks, e.g. RSpec.

Gemfile:
=

install:
=

Versions:

  1. 3.0.2 February 13, 2026 (71 KB)
  2. 3.0.1 December 17, 2025 (70.5 KB)
  3. 3.0.0 December 15, 2025 (70.5 KB)
  4. 3.0.0.pre.rc.2 November 11, 2025 (70.5 KB)
  5. 3.0.0.pre.rc.1 January 24, 2025 (69 KB)
Show all versions (114 total)

Runtime Dependencies (1):

ruby2_keywords >= 0.0.5

Owners:

Pushed by:

Authors:

  • James Mead

SHA 256 checksum:

=

Total downloads 85,141,550

For this version 2,686

Version Released:

Licenses:

MIT, BSD-2-Clause

Required Ruby Version: >= 2.2

New versions require MFA: true

Version published with MFA: true

Links: