A mocking and stubbing library for Ruby
☆1,275Feb 15, 2026Updated 2 weeks ago
Alternatives and similar repositories for mocha
Users that are interested in mocha are comparing it to the libraries listed below
Sorting:
- minitest provides a complete suite of testing facilities supporting TDD, BDD, and benchmarking.☆3,395Feb 23, 2026Updated last week
- Library for stubbing and setting expectations on HTTP requests in Ruby.☆4,048Jan 16, 2026Updated last month
- Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.☆2,958Jul 7, 2025Updated 7 months ago
- Code coverage for Ruby with a powerful configuration library and automatic merging of coverage across test suites☆4,879Feb 17, 2026Updated 2 weeks ago
- Makes tests easy on the fingers and the eyes☆2,208May 23, 2025Updated 9 months ago
- A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It pr…☆3,411Nov 24, 2025Updated 3 months ago
- Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.☆6,039Jan 21, 2026Updated last month
- Simple one-liner tests for common Rails functionality☆3,571Feb 25, 2026Updated last week
- Factory Bot ♥ Rails☆3,122Dec 29, 2025Updated 2 months ago
- A library for setting up Ruby objects as test data.☆8,354Feb 10, 2026Updated 3 weeks ago
- RSpec's 'test double' framework, with support for stubbing and mocking