Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Tags
  3. Mock

Mock

69 projects

Showing 33 of 69 projects

FakeRest
FakeRestTypeScript

A browser library that intercepts AJAX calls to mock a REST server based on JSON data for client-side testing.

#rest#single-page-app#client
Stars456
Forks55
Last commit1 month ago
xgo
xgoGo

An all-in-one Go testing library providing monkey patching, stack tracing, and function trapping via IR rewriting.

#go-testing#stack-trace#testing-library
Stars431
Forks31
Last commit1 month ago
Imposter ()
Imposter ()Shell

A scriptable, multipurpose mock server for REST APIs, OpenAPI, SOAP, gRPC, Salesforce and HBase APIs.

#salesforce#api-mock#integration-testing
Stars415
Forks68
Last commit26 days ago
PHP-Mock
PHP-MockPHP

A PHP testing library that mocks non-deterministic built-in functions like time() and rand() using namespace fallback.

#unit-testing#phpunit#test-doubles
Stars371
Forks19
Last commit8 months ago
Weld
WeldRust

A full fake REST API generator written in Rust, inspired by json-server.

#backend-mocking#json-api#weld
Stars322
Forks27
Last commit2 years ago
mocket
mocketPython

a socket mock framework - for all kinds of socket animals, web-clients included

#http#tdd#mocking
Stars313
Forks52
Last commit2 days ago
shallow-render
shallow-renderTypeScript

A testing library for Angular that simplifies unit testing with shallow rendering and easy mocking.

#enzyme#unit-testing#testing-library
Stars273
Forks28
Last commit8 months ago
Prismock - Run tests in isolation with an in-memory implementation of Prisma
Prismock - Run tests in isolation with an in-memory implementation of PrismaTypeScript

A mock for PrismaClient that reads your Prisma schema and provides an in-memory store for fast, isolated unit tests.

#unit-testing#prisma#vitest
Stars267
Forks34
Last commit
smoke
smokeJavaScript

A file-based mock server that uses folder structures and file names to define API routes, with recording and templating capabilities.

#hacktoberfest#template#rest
Stars207
Forks16
Last commit8 months ago
charlatan
charlatanGo

A Go interface mocking tool that generates fake implementations for testing, with detailed call tracking.

#unit-testing#interface-mocking#mocking
Stars205
Forks8
Last commit2 years ago
JMock
JMockJava

A high-performance Java library for generating realistic business data with internationalization support.

#simulation#high-performance#functions
Stars204
Forks23
Last commit2 months ago
Mockingbird
MockingbirdSwift

A macOS app for mocking HTTP/HTTPS services to simplify testing and development against incomplete or unstable systems.

#software-testing#hacktoberfest#proxy
Stars200
Forks16
Last commit2 years ago
govcr
govcrGo

A Go library for recording and replaying HTTP/HTTPS interactions as mock cassettes for offline testing.

#playback#proxy#integration-testing
Stars200
Forks18
Last commit5 months ago
Apex Test Kit
Apex Test KitApex

A Salesforce Apex library for generating test data with complex relationships and creating method stubs using BDD-style mocking.

#salesforce#unit-testing#apex-test
Stars163
Forks25
Last commit3 years ago
MockSSH
MockSSHPython

A Python library to mock SSH servers and define custom commands for testing automation scripts.

#honeypot#devops#unit-testing
Stars130
Forks25
Last commit15 days ago
unit-threaded
unit-threadedD

Advanced multi-threaded unit test framework for D with custom assertions, property-based testing, and mocking.

#d-language#property-testing#unit-testing
Stars123
Forks39
Last commit26 days ago
d3-gridding
d3-griddingJavaScript

A D3.js plugin for creating rapid mock-ups of charts using data-driven grids and layouts.

#d3-gridding#treemap#design
Stars105
Forks7
Last commit5 months ago
RandomUserSwift
RandomUserSwiftSwift

A Swift framework for generating random user data by integrating with the randomuser.me API.

#ios#open-source#api
Stars97
Forks11
Last commit5 years ago
jmeter-k8s-starterkit
jmeter-k8s-starterkitShell

A starter kit for running distributed JMeter load tests in Kubernetes with live monitoring, reporting, and a mocking service.

#load-testing#devops#performance-testing
Stars93
Forks64
Last commit1 year ago
MockSwift
MockSwiftSwift

A Swift mock library for writing mocks and improving unit tests, inspired by Mockito.

#mock-library#ios#unit-testing
Stars92
Forks8
Last commit6 months ago
DnsMock
DnsMockRuby

A Ruby DNS mock server for testing environments that mimics any DNS record type.

#fake-dns#hacktoberfest#fake-server
Stars66
Forks7
Last commit1 year ago
ember-window-mock
ember-window-mockTypeScript

An Ember CLI addon that provides a mockable window global for testing, with test-friendly replacements for location, alert, confirm, prompt, and more.

#es6-modules#unit-testing#integration-testing
Stars64
Forks17
Last commit
definject
definjectElixir

An unobtrusive dependency injection library for Elixir that enables mocking for testing without modifying function signatures.

#hacktoberfest#elixir#unobtrusive
Stars56
Forks3
Last commit2 years ago
mocks.cr
mocks.crCrystal

A general-purpose mocking library for Crystal with support for partial doubles, instance doubles, and class doubles.

#unit-testing#tdd#test-doubles
Stars55
Forks14
Last commit6 years ago
Ersatz Mock Server
Ersatz Mock ServerJava

A simulated HTTP server for testing client code with configurable responses.

#gradle#java-library#unit-testing
Stars53
Forks7
Last commit6 months ago
MockImagePicker
MockImagePickerSwift

Mock UIImagePickerController to simulate camera functionality in iOS simulator for testing camera-based UI.

#camera#ios#simulator
Stars30
Forks2
Last commit1 year ago
flute
fluteGo

A Go HTTP client testing framework for validating request parameters and mocking HTTP server responses.

#library#integration-testing#api-testing
Stars23
Forks1
Last commit5 days ago
Vert.x WireMongo
Vert.x WireMongoJava

Lightweight mongo mocking for Vert.x

#integration-testing#mongodb#mongomock
Stars15
Forks5
Last commit6 days ago
Malibu
MalibuSwift

A Swift networking library built on promises for cleaner, chainable HTTP requests.

#ios#asynchronous#promises
Stars12
Forks3
Last commit8 years ago
Generate Custom Response using JSONbin
Generate Custom Response using JSONbinShell

A GitHub Action to create, read, update, and delete JSON bins using the JSONbin.io API.

#json-api#data-storage#storage
Stars9
Forks2
Last commit3 days ago
mockfs
mockfsGo

A feature-rich mock filesystem for Go testing with error injection, latency simulation, write operations, and operation statistics.

#mock-file#filesystem#unit-testing
Stars9
Forks0
Last commit1 month ago
ng-mocks-sandbox
ng-mocks-sandboxTypeScript

A collection of live examples and guides for unit testing Angular applications using the ng-mocks library.

#examples#unit-testing#testing-library
Stars5
Forks1
Last commit1 day ago
klubok
klubokTypeScript

A TypeScript library for do-notation pipelines with automatic context passing and easy mocking for unit testing.

#functional-programming#context-passing#unit-testing
Stars2
Forks0
Last commit7 months ago
PreviousPage 2 of 2

Related Tags

Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub
2 days ago
3 days ago
#Testing45
#Unit Testing32
#Mocking27
#Integration Testing16
#Mock Server14
#Api Mocking14
#Test10
#Api10
#Test Doubles10
#Javascript10
#Testing Tools9
#Go9