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 36 of 69 projects

json-server
json-serverJavaScript

Get a full fake REST API with zero coding in less than 30 seconds by serving JSON files.

#backend-mocking#rest#development-tool
Stars75.7k
Forks7.3k
Last commit7 months ago
Keploy
KeployGo

Open-source API and integration testing platform that auto-generates tests and mocks from real user traffic using eBPF.

#devops#mock-generation#integration-testing
Stars18.7k
Forks2.4k
Last commit1 day ago
msw
mswTypeScript

API mocking library for JavaScript that intercepts requests at the network level using Service Workers.

#express-routing#network-interception#service-worker
Stars18.3k
Forks641
Last commit6 days ago
Mockito
MockitoJava

The most popular mocking framework for unit tests written in Java.

#software-testing#test-isolation#unit-testing
Stars15.5k
Forks2.7k
Last commit3 days ago
Nock
NockJavaScript

A comprehensive HTTP server mocking and expectations library for Node.js to test modules in isolation.

#fixtures#test-isolation#unit-testing
Stars13.1k
Forks782
Last commit2 days ago
Mockery
MockeryPHP

A simple yet flexible PHP mock object framework for unit testing with a human-readable DSL.

#stubs#phpspec#unit-testing
Stars10.7k
Forks470
Last commit5 days ago
Antd Admin
Antd AdminTypeScript

A lightweight, high-performance admin template for enterprise applications built with Ant Design 6, Umi 4, and TypeScript.

#admin#ant-design#dashboard
Stars9.8k
Forks2.5k
Last commit5 days ago
Mockoon (.1k)
Mockoon (.1k)TypeScript

The easiest and quickest way to design and run mock APIs locally, with desktop, CLI, and cloud options.

#desktop-application#application#rest
Stars8.5k
Forks482
Last commit3 days ago
mockery
mockeryGo

A mock code autogenerator for Go interfaces using testify/mock to eliminate boilerplate.

#generator#mock-generation#unit-testing
Stars7.2k
Forks466
Last commit3 days ago
go-sqlmock
go-sqlmockGo

A mock SQL driver for Go that simulates database behavior in tests without requiring a real database connection.

#database#test-isolation#unit-testing
Stars6.6k
Forks422
Last commit3 months ago
orval
orvalTypeScript

Generate type-safe TypeScript clients from OpenAPI or Swagger specifications for various frameworks.

#axios-client#type-safety#msw
Stars6.6k
Forks699
Last commit2 days ago
graphql-tools
graphql-toolsTypeScript

A utility library for building, stitching, and mocking GraphQL schemas using the SDL-first approach.

#graphql#graphql-api#schema-language
Stars5.4k
Forks830
Last commit1 day ago
OHHTTPStubs
OHHTTPStubsObjective-C

A library for stubbing network requests in iOS/macOS/tvOS apps to test with fake data and simulate network conditions.

#fixtures#ios#unit-testing
Stars5.1k
Forks598
Last commit2 years ago
Pester
PesterPowerShell

A test and mock framework for PowerShell that enables unit testing, mocking, and code coverage analysis.

#pester-tests#devops#powershell-tests
Stars3.4k
Forks477
Last commit22 days ago
falso
falsoTypeScript

Generate massive amounts of fake data in the browser and NodeJS with tree-shakable, fully-typed functions.

#fake-data#tree-shaking#mock-data
Stars3.3k
Forks116
Last commit1 year ago
NSubstitute
NSubstituteC#

A friendly .NET mocking library with a succinct syntax that keeps tests focused on intention rather than configuration.

#unit-testing#integration-testing#csharp
Stars3.0k
Forks281
Last commit9 days ago
GraphQL Faker
GraphQL FakerTypeScript

Mock or extend GraphQL APIs with realistic fake data using directives, no coding required.

#graphql-sdl#faked-data#api
Stars2.7k
Forks228
Last commit2 years ago
gock
gockGo

Versatile HTTP traffic mocking and testing library for Go, compatible with any net/http based client.

#stubs#net-http#api
Stars2.2k
Forks115
Last commit2 years ago
Mocky (k)
Mocky (k)TypeScript

A simple tool to generate custom HTTP responses for testing web services and mocking backend APIs.

#backend-mocking#mocky#web-services
Stars2.1k
Forks262
Last commit3 years ago
Microcks (.8k)
Microcks (.8k)Java

A Kubernetes-native open-source platform for API mocking and contract testing from OpenAPI, AsyncAPI, gRPC, GraphQL, and Postman assets.

#event-driven#api#graphql
Stars2.1k
Forks373
Last commit2 days ago
Cuckoo
CuckooSwift

A boilerplate-free mocking framework for Swift with a Mockito-like DSL, using compile-time code generation.

#cuckoo#macos-development#matcher
Stars1.7k
Forks201
Last commit1 month ago
DuckRails
DuckRailsRuby

A development tool for quickly mocking API endpoints with static or dynamic responses, delays, and custom headers.

#developer-tools#productivity#development-tool
Stars1.7k
Forks105
Last commit10 months ago
Fes.js
Fes.jsTypeScript

A Vue 3-based frontend application framework that simplifies development with convention-over-configuration and a rich plugin ecosystem.

#spa#vue-framework#plugin-system
Stars1.7k
Forks176
Last commit1 month ago
LoggingInterceptor
LoggingInterceptorKotlin

An OkHttp interceptor with a pretty logger for Android HTTP requests and responses, including mock support.

#java-library#interceptor#network-debugging
Stars1.4k
Forks122
Last commit8 months ago
Mocha
MochaRuby

A Ruby library for mocking and stubbing objects in unit tests with a unified syntax for Minitest, Test::Unit, and RSpec.

#test-unit#unit-testing#stub
Stars1.3k
Forks160
Last commit1 month ago
ng-mocks
ng-mocksTypeScript

Angular testing library for mocking components, directives, pipes, services and facilitating TestBed setup.

#service#unit-testing#pipe
Stars1.2k
Forks121
Last commit2 days ago
bypass
bypassElixir

A mock HTTP server for Elixir testing that intercepts requests and returns preconfigured responses.

#elixir#integration-testing#http
Stars1.0k
Forks118
Last commit1 year ago
dyson
dysonJavaScript

A Node.js server for creating dynamic, fake JSON APIs with configurable endpoints and realistic mock data.

#json-server#fake-data#frontend-development
Stars832
Forks61
Last commit3 years ago
httpmock
httpmockRust

A simple yet powerful HTTP mocking library for Rust, featuring a fluent API, request matching, and standalone Docker support.

#serde#integration-testing#async
Stars675
Forks61
Last commit1 day ago
pgxmock
pgxmockGo

A mock driver for pgx (PostgreSQL driver for Go) to test database interactions without a real database connection.

#pgx#database#postgres
Stars598
Forks67
Last commit18 days ago
List of Automated Testing Tools and Frameworks for .NET
List of Automated Testing Tools and Frameworks for .NETC#

A comprehensive, categorized list of automated testing tools and frameworks for .NET, covering TDD, BDD, ATDD, SBE, and various testing methodologies.

#developer-tools#microsoft#unit-testing
Stars590
Forks97
Last commit
react-native-mock
react-native-mockJavaScript

A fully mocked and test-friendly version of React Native for easier unit testing of React Native components.

#unit-testing#test-environment#frontend-testing
Stars565
Forks151
Last commit7 years ago
Pocket Mocker
Pocket MockerTypeScript

An in-page HTTP controller for frontend development to intercept, modify, and simulate API responses directly in the browser.

#developer-tools#api#http-interception
Stars524
Forks28
Last commit4 months ago
faux
fauxRust

A Rust library for creating mocks from structs without requiring trait abstractions, designed for testing.

#struct-mocking#unit-testing#dev-tools
Stars483
Forks20
Last commit1 year ago
Phake
PhakePHP

A PHP mocking framework inspired by Mockito, using a verification strategy for test doubles and method stubs.

#spy#composer#unit-testing
Stars478
Forks86
Last commit8 months ago
Apex mocks
Apex mocksApex

A mocking framework for true unit testing in Salesforce Apex, inspired by Mockito with Stub API support.

#unit-test#salesforce#unit-testing
Stars462
Forks232
Last commit29 days ago
Page 1 of 2Next

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
11 days ago
#Testing45
#Unit Testing32
#Mocking27
#Integration Testing16
#Mock Server14
#Api Mocking14
#Test10
#Api10
#Test Doubles10
#Javascript10
#Testing Tools9
#Go9