RubyGems Navigation menu

mocha 3.1.0

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.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)
Show all versions (115 total)

Runtime Dependencies (1):

ruby2_keywords >= 0.0.5

Owners:

Pushed by:

Authors:

  • James Mead

SHA 256 checksum:

=

Total downloads 86,847,107

For this version 699

Version Released:

Licenses:

MIT, BSD-2-Clause

Required Ruby Version: >= 2.2

New versions require MFA: true

Version published with MFA: true

Links: