Ross ROSS = Recommend OSS · open-source software intelligence for agents

Open-source mocking software

187 open-source libraries, tools and applications tagged mocking, ranked by how closely mocking is their primary purpose, then by adoption and maintenance health. Each entry links to a page with sources, use cases and when to choose or avoid it.

187 products, primary matches first, then adoption-weighted; health v2 shown.

ProductHealth v2StarsMaturity
powermock/powermock
PowerMock is a Java framework that extends mocking libraries like EasyMock and Mockito to enable unit testing of code normally regarded as …
234170maintenance
WeTransfer/Mocker
Mocker is a Swift library that mocks data requests from URLSession and Alamofire using a custom URLProtocol, without changing app code. It …
231191active
wellwelwel/poku
Poku is a zero-dependency, cross-platform test runner for JavaScript and TypeScript that runs the same test suite on Node.js, Bun, and Deno…
781184active
kiwi-bdd/Kiwi
Kiwi is a Behavior Driven Development (BDD) testing library for iOS written in Objective-C. It lets developers write readable spec-style te…
234101maintenance
madsim-rs/madsim
MadSim is a Rust async runtime similar to tokio that enables deterministic simulation testing for distributed systems. It mocks I/O interfa…
591173active
instancio/instancio
Instancio is a Java library that automatically creates fully-populated objects with random data for unit tests, including nested objects, c…
941168active
adobe/S3Mock
S3Mock is a lightweight server that implements a subset of the Amazon S3 API for local integration testing, removing the need for real AWS …
971163active
vuejs/test-utils
The official component testing utility library for Vue 3, providing APIs to mount, interact with, and assert against Vue components in test…
981160stable
help-me-mom/ng-mocks
ng-mocks is an Angular testing library that mocks components, directives, pipes, modules, services, and tokens while reducing TestBed boile…
1001159active
kahlan/kahlan
Kahlan is a full-featured Unit and BDD test framework for PHP using a describe-it syntax similar to RSpec/JSpec. It includes built-in stubb…
951146active
maxbrunsfeld/counterfeiter
counterfeiter is a Go code generation tool that creates self-contained, type-safe fake implementations (test doubles) of interfaces. It int…
941143active
dwyl/aws-sdk-mock
A Node.js library that mocks AWS SDK (v2) services and methods using Sinon.js, primarily for unit testing AWS Lambda functions. It lets dev…
671128active
MakeAWishFoundation/SwiftyMocky
SwiftyMocky is a strongly typed Swift framework that automatically generates mock implementations of protocols using Sourcery code generati…
231092active
chaijs/sinon-chai
A Chai plugin that adds custom assertions for the Sinon.JS spy, stub, and mocking framework. It lets you write spy assertions in idiomatic …
361089stable
mswjs/data
A data querying library for testing JavaScript applications that lets developers define schema-based collections and query them with an ORM…
941064active
fakefs/fakefs
FakeFS is a Ruby gem that provides an in-memory fake filesystem, monkey-patching File, FileUtils, Dir, and related classes so tests can exe…
521061active
rosiejs/rosie
Rosie is a JavaScript library for defining factories that build test data objects, inspired by factory_bot (factory_girl). Factories suppor…
321057stable
thoughtbot/fishery
Fishery is a TypeScript-first library for defining factories that build JavaScript objects as test data, inspired by Ruby's factory_bot. It…
621032active
FFLib Apex Common
A common Apex library for Salesforce implementing Apex Enterprise Patterns such as Service Layer, Unit of Work, and Data Mapper. It helps s…
761012active
bouk/monkey
A Go library that enables monkey patching of functions and instance methods at runtime by rewriting the running executable to insert jumps …
103422maintenance
PSPDFKit-labs/bypass
Bypass is an Elixir library for spinning up a lightweight mock HTTP server (a Plug) inside tests to return prebaked responses to client req…
431001stable
boo1ean/casual
Casual is a fake data generator library for JavaScript/Node.js that produces random names, addresses, emails, text, and other common data t…
323001maintenance
thlorenz/proxyquire
A Node.js library that proxies the require function so dependencies can be overridden with stubs or mocks during testing without modifying …
352745maintenance
reduxjs/redux-mock-store
A mock Redux store for testing async action creators and middleware by recording dispatched actions. The Redux team now deprecates it in fa…
232497maintenance
didi/sharingan
Sharingan is a Go-based traffic recording and replay tool that captures real production request traffic (including downstream calls) and re…
102381maintenance
gabrielfalcao/HTTPretty
HTTPretty is a Python library that mocks HTTP clients by intercepting requests at the socket level, faking the entire socket module. It let…
322148maintenance
velesin/jasmine-jquery
A JavaScript library that extends the Jasmine testing framework with custom jQuery matchers and an API for loading HTML, CSS, and JSON fixt…
101880maintenance
alibaba/testable-mock
TestableMock is a lightweight mocking library for JVM unit tests that replaces methods (including private, static, and constructors) via a …
321835maintenance
lausobo/Nocilla
Nocilla is an Objective-C library for stubbing HTTP and HTTPS requests in iOS and macOS unit tests, inspired by WebMock. It intercepts requ…
231825maintenance
Midje
Midje is a testing framework for Clojure that offers a readable, fact-based style of writing tests and a migration path from clojure.test. …
321698maintenance
githublitao/api_automation_test
A self-hosted API automation testing platform built with Django REST framework on the backend and Vue + ElementUI on the frontend. It provi…
631670maintenance
kylef/Mockingjay
Mockingjay is a Swift library for stubbing HTTP/HTTPS requests made via NSURLConnection or NSURLSession, including requests from libraries …
231484maintenance
testdouble.js
testdouble.js (td.js) is a minimal, opinionated test double library for JavaScript that provides stubbing, spying, and verification for tes…
761425maintenance
acoomans/SimulatorRemoteNotifications
An Objective-C library that extends UIApplication to receive mock remote notifications on the iOS simulator via a mini UDP server. It inclu…
321366maintenance
vivo/MoonBox
Moonbox is a noninvasive server-side traffic capture and replay platform built on the JVM-Sandbox ecosystem (jvm-sandbox-repeater). It reco…
571345maintenance
pretenderjs/pretender
Pretender is a browser-only mock server library that intercepts XMLHttpRequest and Fetch requests and routes them to handlers defined with …
231261maintenance
biubiubiu01/vue3-bigData
A big-data visualization dashboard built with Vue 3 and ECharts, featuring charts like bar, pie, funnel, radar, map drill-downs, and relati…
321247maintenance
jfairbank/redux-saga-test-plan
A JavaScript testing library for Redux Saga that provides chainable assertion APIs for both unit and integration testing of sagas. It offer…
561242maintenance
kevinburke/hamms
Hamms is a Python library and CLI tool that runs a set of deliberately broken HTTP servers on ports 5500-5600 to elicit failures in HTTP cl…
321201maintenance
cedarbdd/cedar
Cedar is a BDD-style testing framework for Objective-C featuring an expressive matcher DSL and built-in test doubles. It integrates with Xc…
231182maintenance
didi/rdebug
Rdebug is a tool chain for recording real production traffic and replaying it against non-production environments to test and debug PHP mic…
101156maintenance
fabioCollini/DaggerMock
DaggerMock is a JUnit rule that makes it easy to override Dagger 2 provided objects with Mockito mocks in Java or Kotlin tests. It scans @M…
321154maintenance
google/intermock
Intermock is a Google open-source mocking library that generates mock objects and JSON with fake data from TypeScript interfaces using Fake…
101141maintenance
notahat/machinist
Machinist is a Ruby library for generating test data through 'blueprints' that replace traditional fixtures in Rails tests. It automaticall…
321112maintenance
tonerdo/pose
Pose is a .NET isolation/mocking library that lets you replace any method—including static, non-virtual, and constructors—with a delegate a…
231105maintenance
flickr/yakbak
yakbak is a Node.js library that records and replays HTTP responses, inspired by Ruby's VCR. It proxies requests to a target host, saving r…
231100maintenance
mfncooper/mockery
A Node.js library that intercepts require() calls so mocks or substitutes can be injected in place of real modules during unit testing. It …
101094maintenance
google/cmockery
Cmockery is a lightweight C library for writing unit tests, compiled into standalone test executables linked with the code under test. It e…
101085maintenance
architect/dynalite
Dynalite is a JavaScript implementation of Amazon's DynamoDB API built on LevelDB, runnable as a CLI or embedded Node.js HTTP server with f…
381077maintenance
jpillora/xhook
XHook is a small JavaScript library that patches XMLHttpRequest to let you intercept and modify AJAX requests and responses in the browser.…
231037maintenance
mongomock/mongomock
Mongomock is a small Python library that provides a fake in-memory implementation of pymongo collection objects for testing MongoDB-depende…
321005maintenance
service-mocker/service-mocker
Service Mocker is a frontend API mocking framework that uses service workers to intercept real HTTP requests without requiring any backend …
101004maintenance
NagRock/ts-mockito
ts-mockito is a strongly typed mocking library for TypeScript inspired by Mockito. It provides mock creation, spying, stubbing, verificatio…
23996maintenance
Pact Contract Testing Framework
Pact is a code-first contract testing framework that lets consumers define expected interactions with providers via a DSL and mock service,…
32316active
RSpec
RSpec is Ruby's behaviour-driven development (BDD) testing framework, composed of modular libraries: rspec-core (spec runner), rspec-expect…
64117stable
golang/mock
GoMock is a mocking framework for Go that generates mock implementations of interfaces via the mockgen code-generation tool. It integrates …
109319abandoned
bxcodec/faker
A Go library that generates fake data based on struct definitions using struct tags or single-value functions. This repository is archived …
102078abandoned
Pythagora-io/pythagora
Pythagora is an npm CLI tool (with a VS Code extension) that uses LLMs like GPT-4 to automatically generate unit and integration tests for …
671823abandoned
hugues-m/phpunit-vw
A PHPUnit extension created as a joke during the 2015 Volkswagen emissions scandal that detects CI environments and makes failing test suit…
231759abandoned
dchelimsky/rspec
RSpec is a Behaviour Driven Development (BDD) testing framework for Ruby, composed of modular libraries: rspec-core (spec runner), rspec-ex…
101729abandoned
zackargyle/service-workers
A collection of JavaScript tools for generating, testing, and experimenting with service workers, including a generator, a webpack plugin, …
321278abandoned
angular/in-memory-web-api
An Angular library that intercepts Http and HttpClient requests and redirects them to an in-memory data store, emulating a REST API with CR…
101164abandoned
didi/DoKit
DoKit (DoraemonKit) is an efficiency platform for the full lifecycle of pan-frontend product development, offering in-app debug toolkits fo…
7920418active
Vitest
Vitest is a next-generation JavaScript/TypeScript testing framework built on top of Vite, offering Jest-compatible APIs with fast watch mod…
9417202stable
zuiidea/antd-admin
Antd Admin is a production-style admin dashboard template and scaffolding CLI built on React 19, Ant Design 6, TanStack Router/Query, Zusta…
829769active
nodejs/undici
Undici is a fast HTTP/1.1 client library for Node.js, written from scratch, that also provides WHATWG-compliant fetch, WebSocket, EventSour…
947708stable
AidLux (AidLearning)
AidLux (originally AidLearning) is an AIoT development platform that runs a native Ubuntu Linux environment with GUI, deep learning tooling…
635812active
fabric8
A Java client library providing access to the full Kubernetes and OpenShift REST APIs via a fluent DSL. It includes extensions for Knative,…
983677active
Gauge
Taiko is a free and open-source Node.js library for browser automation and end-to-end testing of modern web applications, supporting Chromi…
903674active
Kong/unirest-java
Unirest is a lightweight, fluent HTTP client library for Java supporting HTTP/1 and HTTP/2, WebSockets, JSON mapping via Jackson or GSON, a…
1002703active
vmware/govmomi
govmomi is a Go library for interacting with the VMware vSphere API (ESXi and vCenter Server). It also ships with govc (a vSphere CLI), vcs…
962554active
learnhouse/learnhouse
LearnHouse is a next-generation open-source learning management system (LMS) for creating, sharing, and selling educational content. It com…
1002404active
nest-admin
A Vue 3 + TypeScript admin dashboard template built with Vite and Ant Design Vue 4, featuring an RBAC permission system, JSON Schema dynami…
622268active
steipete/Aspects
Aspects is a small Objective-C/Swift library for aspect-oriented programming that hooks into existing methods per class or per instance usi…
108414maintenance
Microcks
Microcks is an open source, cloud native platform for API mocking and testing that turns OpenAPI, AsyncAPI, gRPC, GraphQL, Postman and Soap…
942044active
f/mcptools
A Go-based command-line interface for discovering, calling, and managing tools, resources, and prompts exposed by MCP (Model Context Protoc…
441629active
vlucas/frisby
Frisby.js is a REST API testing framework built on top of Jest that provides a fluent, promise-based API for testing HTTP endpoints. It inc…
561511active
graphql-hive/graphql-modules
GraphQL Modules is a TypeScript library for building reusable, testable, and maintainable modules out of a GraphQL server's schema and reso…
831326stable
trpc-group/trpc-go
tRPC-Go is the Go implementation of the tRPC framework, a pluggable, high-performance RPC framework for building microservices. It supports…
751208active
law-chain-hot/websocket-devtools
A Chrome/Edge DevTools browser extension for monitoring, simulating, and blocking WebSocket traffic. It integrates as a native DevTools pan…
841198active
authorjapps/zerocode
Zerocode TDD is an open-source, no-code automated testing framework for REST/SOAP APIs, Kafka data streams, databases, ETL pipelines, and l…
921015active
oxidecomputer/progenitor
Progenitor is a Rust crate that generates opinionated async client code from OpenAPI 3.0.x API descriptions, producing a typed `Client` wit…
751010active
nx-admin
nx-admin is an open-source Vue 2 + Element UI admin dashboard template for rapidly building enterprise back-office management systems. It s…
232600maintenance
steebchen/prisma-client-go
Prisma Client Go is an auto-generated, fully type-safe database client and query builder for Go, part of the Prisma ecosystem. It supports …
102275maintenance
vbenjs/vben-admin-thin-next
A slimmed-down starter template of Vue Vben Admin built with Vue 3, Vite, and TypeScript for middle- and back-end admin front-ends. It ship…
662071maintenance
google/martian
Martian is a programmable HTTP/S proxy library written in Go, designed primarily for testing. It lets developers intercept, inspect, and mo…
102040maintenance
luoxue-victor/workflow
A Chinese-language frontend workflow platform centered on the @pkb/cli scaffolding tool that generates webpack, rollup, vite, node, lerna, …
321979maintenance

← prev page 2 / 2