← namespaces / @rubygems / gems / mocha

@rubygems/mocha

Mocking and stubbing library

details

latest
3.1.0
PURL
pkg:gem/gem.coop/rubygems/mocha@3.1.0
licenses
MIT, BSD-2-Clause
ruby
>= 2.2
rubygems
>= 0
executables
none
native extensions
none
platforms
ruby

links

homepage
https://mocha.jamesmead.org
bug_tracker
https://github.com/freerange/mocha/issues
changelog
https://github.com/freerange/mocha/blob/main/RELEASE.md
documentation
https://mocha.jamesmead.org/
funding
https://github.com/sponsors/floehopper
source_code
https://github.com/freerange/mocha

versions

  • 3.1.0 Mar 14 2026 gem.coop system
  • 3.0.2 Feb 13 2026 gem.coop system
  • 3.0.1 Dec 17 2025 gem.coop system
  • 3.0.0 Dec 15 2025 gem.coop system
  • 2.8.2 Nov 15 2025 gem.coop system
  • 2.8.1 Nov 15 2025 gem.coop system
  • 3.0.0.pre.rc.2 Nov 11 2025 gem.coop system
  • 2.8.0 Nov 11 2025 gem.coop system
  • 3.0.0.pre.rc.1 Jan 24 2025 gem.coop system
  • 2.7.1 Dec 09 2024 gem.coop system
  • 2.7.0 Dec 07 2024 gem.coop system
  • 2.6.1 Nov 28 2024 gem.coop system
  • 2.6.0 Nov 24 2024 gem.coop system
  • 2.5.0 Oct 23 2024 gem.coop system
  • 2.4.5 Jul 24 2024 gem.coop system
  • 2.4.4 Jul 23 2024 gem.coop system
  • 2.4.3 Jul 22 2024 gem.coop system
  • 2.4.2 Jul 18 2024 gem.coop system
  • 2.4.1 Jul 16 2024 gem.coop system
  • 2.4.0 Jun 16 2024 gem.coop system
See raw versions list →

usage

run on your commandline
bundle add mocha --source "https://gem.coop/@rubygems"
or, put in your Gemfile
gem "mocha", source: "https://gem.coop/@rubygems"