27 projects
GoogleTest
GoogleTest - Google Testing and Mocking Framework
3,723
754
$2.5M
RSpec Rails
RSpec Rails is a testing framework that brings RSpec's behavior-driven development approach to Ruby on Rails applications, providing a domain-specific language for writing readable, maintainable tests and specifications for Rails components
2,797
1,004
$571K
Mockito
Mockito is a popular mocking framework for Java unit testing that allows creating and configuring mock objects. It enables developers to write clean tests by mocking dependencies and verifying behavior in an elegant way.
2,618
552
$2.3M
Mock Service Worker
Industry standard API mocking for JavaScript.
2,376
695
$918K
Sinon.JS
Sinon.JS is a standalone test spies, stubs and mocks library for JavaScript. It provides test doubles that can be used with any unit testing framework to help verify and validate behavior of JavaScript applications.
2,296
800
$1.1M
Testify
Testify is a testing and assertion toolkit for Go that provides a rich set of assertion functions and testing utilities to make writing tests easier and more expressive
2,000
780
$659K
Microcks
Microcks is an open source tool for API mocking and testing. It helps teams simulate API behavior and automate testing by creating mocks from API contracts (OpenAPI, AsyncAPI, etc.) and recording real service traffic. The platform supports REST, GraphQL, gRPC, and event-driven APIs.
1,999
348
$2.1B
Nock
Nock is an HTTP server mocking and expectations library for Node.js that allows intercepting HTTP requests and providing mock responses for testing purposes
1,699
633
$528K
WebMock
WebMock is a library for stubbing and setting expectations on HTTP requests in Ruby. It allows developers to disable real HTTP requests and simulate responses for testing purposes, supporting features like request matching, response stubbing, and request verification.
1,263
494
$474K
Mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL).
1,122
369
$3.7M
AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
EasyMock
EasyMock, makes mocking easier since 2001
Freerange Mocha: Ruby Mocking and Stubbing Library
A mocking and stubbing library for Ruby
GoMock
GoMock is a mocking framework for the Go programming language.
Miniredis
Pure Go Redis server for Go unittests
MockBukkit
MockBukkit is a mocking framework for Bukkit/PaperMC to allow the easy unit testing of Bukkit plugins.
MockK
mocking library for Kotlin
MockRedis
Mock Redis gem for Ruby
MockServer
MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
NSubstitute
A friendly substitute for .NET mocking libraries.
Pester
Pester is the ubiquitous test and mock framework for PowerShell.
Prophecy
Highly opinionated mocking framework for PHP 5.3+
RR (Double)
RR is a test double framework that features a rich selection of double techniques and a terse syntax. ⛺
System.IO.Abstractions
Just like System.Web.Abstractions, but for System.IO. Yay for testable IO access!
mockery
A mock code autogenerator for Go
python-dbusmock
python-dbusmock: mock D-Bus objects for tests