mocha

Mocking library

A Ruby library for mocking and stubbing in unit tests

A mocking and stubbing library for Ruby

GitHub

1k stars
25 watching
159 forks
Language: Ruby
last commit: almost 2 years ago
Linked from 2 awesome lists

minitestmockrubystubtest-unittesting

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
jimweirich/flexmockA flexible mock object library for unit testing Ruby applications94
appunite/mockeryA library that provides a simple way to mock functions in asynchronous Elixir testing92
jasonbock/rocksA mocking library based on the Compiler APIs (Roslyn + Mocks) to create mock objects for unit testing and verification of virtual methods266
ferada/cl-mockA library for easily replacing parts of existing functions with mock implementations.19
leoture/mockswiftA library that allows you to write mocks and make better tests with Swift90
easymock/easymockA Java library that simplifies the use of mock objects in unit testing.821
rspec/rspec-mocksA test-double framework for RSpec that supports method stubs and mocking of real objects as well as generated test-doubles.1,160
mocktools/ruby-smtp-mockA tool for mocking SMTP servers in test environments.67
alexliesenfeld/httpmockA library that enables developers to mock HTTP responses and test their applications in isolation.491
help-me-mom/ng-mocksA testing library for mocking components and services in Angular applications.1,067
nrxus/fauxA library to create mocks out of structs.443
jjh42/mockA library for mocking functions in Elixir tests656
eratio08/vitest-mock-extendedA library that provides type-safe mocking extensions for testing with Vitest.174
z4kn4fein/stashbox-mockingA library that provides automatic mock creation for unit testing integrations with Stashbox.2
waterlink/mocks.crA general-purpose mocking library for Crystal54