Git Stars Git Stars

#mock Repositories

Discover 69 active open source GitHub repositories tagged with #mock, accumulating 376,224 total stars (averaging 5,452 stars per project). Leading this topic is PanJiaChen/vue-element-admin with 90,241 stars.

69
Total Repositories
376,224
Total Stars
5,452
Avg Stars/Repo
1
PanJiaChen/vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

PanJiaChen
โญ 90,241 Vue ๐Ÿ‘ค PanJiaChen User ๐Ÿ• Updated 2024-10-24 ๐Ÿ“… Created 2017-04-17
2
typicode/json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

typicode
โญ 75,752 JavaScript ๐Ÿ‘ค typicode User ๐Ÿ• Updated 2026-03-23 ๐Ÿ“… Created 2013-11-27
3
keploy/keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

keploy
โญ 19,926 Go ๐Ÿ‘ค keploy Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2022-01-19
4
mswjs/msw

The industry standard for API mocking in JavaScript.

mswjs
โญ 18,356 TypeScript ๐Ÿ‘ค mswjs Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2018-11-13
5
mockito/mockito

Most popular Mocking framework for unit tests written in Java

mockito
โญ 15,451 Java ๐Ÿ‘ค mockito Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2012-10-13
6
nock/nock

HTTP server mocking and expectations library for Node.js

nock
โญ 13,142 JavaScript ๐Ÿ‘ค nock Organization ๐Ÿ• Updated 2026-11-05 ๐Ÿ“… Created 2011-09-22
7
mockery/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).

mockery
โญ 10,723 PHP ๐Ÿ‘ค mockery Organization ๐Ÿ• Updated 2026-10-18 ๐Ÿ“… Created 2009-02-25
8
zuiidea/antd-admin

AI-friendly enterprise front-end best practices

zuiidea
โญ 9,771 TypeScript ๐Ÿ‘ค zuiidea User ๐Ÿ• Updated 2026-10-22 ๐Ÿ“… Created 2016-01-25
9
mockoon/mockoon

Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.

mockoon
โญ 8,493 TypeScript ๐Ÿ‘ค mockoon Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-07-17
10
vektra/mockery

A mock code autogenerator for Go

vektra
โญ 7,183 Go ๐Ÿ‘ค vektra Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2014-09-02
11
orval-labs/orval

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. ๐Ÿบ

orval-labs
โญ 6,645 TypeScript ๐Ÿ‘ค orval-labs Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2020-02-05
12
DATA-DOG/go-sqlmock

Sql mock driver for golang to test database interactions

DATA-DOG
โญ 6,576 Go ๐Ÿ‘ค DATA-DOG Organization ๐Ÿ• Updated 2026-07-10 ๐Ÿ“… Created 2014-02-07
13
mockk/mockk

mocking library for Kotlin

mockk
โญ 5,768 Kotlin ๐Ÿ‘ค mockk Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2017-10-17
14
miragejs/miragejs

A client-side server to build, test and share your JavaScript app

miragejs
โญ 5,530 JavaScript ๐Ÿ‘ค miragejs Organization ๐Ÿ• Updated 2025-08-11 ๐Ÿ“… Created 2019-02-22
15
ardatan/graphql-tools

:wrench: Utility library for GraphQL to build, stitch and mock GraphQL schemas in the SDL-first approach

ardatan
โญ 5,439 TypeScript ๐Ÿ‘ค ardatan User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2016-03-22
16
AliSoftware/OHHTTPStubs

Stub your network requests easily! Test your apps with fake network data and custom response time, response code and headers!

AliSoftware
โญ 5,075 Objective-C ๐Ÿ‘ค AliSoftware User ๐Ÿ• Updated 2024-05-09 ๐Ÿ“… Created 2012-07-10
17
lk-geimfari/mimesis

Mimesis is a Python library for generating fake but realistic data in multiple languages and locales.

lk-geimfari
โญ 4,873 Python ๐Ÿ‘ค lk-geimfari User ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2016-09-09
18
buqiyuan/vue3-antdv-admin

A basic admin management system built with Vite+ (VP), Vue 3.x, Ant Design Vue 4.x, and TypeScript hooks, featuring an RBAC permission system, JSON Schema-based dynamic forms, dynamic tables, and a lock screen.

buqiyuan
โญ 4,112 TypeScript ๐Ÿ‘ค buqiyuan User ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2020-08-24
19
ctimmerm/axios-mock-adapter

Axios adapter that allows to easily mock requests

ctimmerm
โญ 3,541 JavaScript ๐Ÿ‘ค ctimmerm User ๐Ÿ• Updated 2026-02-07 ๐Ÿ“… Created 2016-03-21
20
pester/Pester

Pester is the ubiquitous test and mock framework for PowerShell.

pester
โญ 3,384 PowerShell ๐Ÿ‘ค pester Organization ๐Ÿ• Updated 2026-11-12 ๐Ÿ“… Created 2011-01-02
21
ngneat/falso

All the Fake Data for All Your Real Needs ๐Ÿ™‚

ngneat
โญ 3,332 TypeScript ๐Ÿ‘ค ngneat Organization ๐Ÿ• Updated 2025-07-13 ๐Ÿ“… Created 2022-01-08
22
jhnns/rewire

Easy monkey-patching for node.js unit tests

jhnns
โญ 3,089 JavaScript ๐Ÿ‘ค jhnns User ๐Ÿ• Updated 2025-12-11 ๐Ÿ“… Created 2012-06-03
23
nsubstitute/NSubstitute

A friendly substitute for .NET mocking libraries.

nsubstitute
โญ 2,979 C# ๐Ÿ‘ค nsubstitute Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2009-10-23
24
typegoose/mongodb-memory-server

Manage & spin up mongodb server binaries with zero(or slight) configuration for tests.

typegoose
โญ 2,857 TypeScript ๐Ÿ‘ค typegoose Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-05-11
25
h2non/gock

HTTP traffic mocking and testing made easy in Go เผผส˜ฬšู„อœส˜ฬšเผฝ

h2non
โญ 2,212 Go ๐Ÿ‘ค h2non User ๐Ÿ• Updated 2024-09-24 ๐Ÿ“… Created 2016-03-02
26
gabrielfalcao/HTTPretty

Intercept HTTP requests at the Python socket level. Fakes the whole socket module

gabrielfalcao
โญ 2,209 Python ๐Ÿ‘ค gabrielfalcao User ๐Ÿ• Updated 2024-06-09 ๐Ÿ“… Created 2011-01-28
27
microcks/microcks

The open source, cloud native tool for API Mocking and Testing. Microcks is a Cloud Native Computing Foundation incubating project ๐Ÿš€

microcks
โญ 2,091 Java ๐Ÿ‘ค microcks Organization ๐Ÿ• Updated 2026-11-15 ๐Ÿ“… Created 2015-02-23
28
pytest-dev/pytest-mock

Thin-wrapper around the mock package for easier use with pytest

pytest-dev
โญ 2,044 Python ๐Ÿ‘ค pytest-dev Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2014-07-17
29
Brightify/Cuckoo

Boilerplate-free mocking framework for Swift!

Brightify
โญ 1,743 Swift ๐Ÿ‘ค Brightify Organization ๐Ÿ• Updated 2026-09-05 ๐Ÿ“… Created 2016-01-12
30
WeBankFinTech/fes.js

Fes.js is a practical frontend application solution based on Vue 3. With design principles of convention, configuration, and componentization, it allows users to focus solely on building page content with components. The technical learning curve is flat and it's easy to get started. After being polished in multiple projects, it has become stable. The rich Vue 3 ecosystem and Fes.js plugins make business development simpler and faster~

WeBankFinTech
โญ 1,658 TypeScript ๐Ÿ‘ค WeBankFinTech Organization ๐Ÿ• Updated 2026-09-14 ๐Ÿ“… Created 2020-08-27
31
shellspec/shellspec

A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells

shellspec
โญ 1,403 Shell ๐Ÿ‘ค shellspec Organization ๐Ÿ• Updated 2025-11-24 ๐Ÿ“… Created 2019-02-05
32
ihsanbal/LoggingInterceptor

An OkHttp interceptor which has pretty logger for request and response. +Mock support

ihsanbal
โญ 1,361 Kotlin ๐Ÿ‘ค ihsanbal User ๐Ÿ• Updated 2026-02-19 ๐Ÿ“… Created 2017-02-22
33
smocker-dev/smocker

Smocker is a simple and efficient HTTP mock server and proxy

smocker-dev
โญ 1,288 TypeScript ๐Ÿ‘ค smocker-dev Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2019-08-29
34
freerange/mocha

A mocking and stubbing library for Ruby

freerange
โญ 1,280 Ruby ๐Ÿ‘ค freerange Organization ๐Ÿ• Updated 2026-09-22 ๐Ÿ“… Created 2008-10-04
35
Meituan-Dianping/lyrebird

Mobile Application Pluginization Testing Workbench

Meituan-Dianping
โญ 1,223 Python ๐Ÿ‘ค Meituan-Dianping Organization ๐Ÿ• Updated 2025-04-25 ๐Ÿ“… Created 2018-07-12
36
adobe/S3Mock

A mock implementation of the AWS S3 API startable as Docker image, TestContainer, JUnit Jupiter extension or TestNG listener

adobe
โญ 1,186 Kotlin ๐Ÿ‘ค adobe Organization ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2017-07-19
37
help-me-mom/ng-mocks

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

help-me-mom
โญ 1,165 TypeScript ๐Ÿ‘ค help-me-mom Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2018-02-10
38
MakeAWishFoundation/SwiftyMocky

Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.

MakeAWishFoundation
โญ 1,076 Swift ๐Ÿ‘ค MakeAWishFoundation Organization ๐Ÿ• Updated 2024-09-02 ๐Ÿ“… Created 2017-08-18
39
PSPDFKit-labs/bypass

Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.

PSPDFKit-labs
โญ 998 Elixir ๐Ÿ‘ค PSPDFKit-labs Organization ๐Ÿ• Updated 2025-07-10 ๐Ÿ“… Created 2015-09-16
40
MuYunyun/reactSPA

combination of react teconology stack

MuYunyun
โญ 924 JavaScript ๐Ÿ‘ค MuYunyun User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2017-04-11
41
bytedance/mockey

A simple and easy-to-use Go mocking library derived from ByteDance's internal best practices.

bytedance
โญ 910 Go ๐Ÿ‘ค bytedance Organization ๐Ÿ• Updated 2026-10-16 ๐Ÿ“… Created 2022-09-27
42
m-radzikowski/aws-sdk-client-mock

AWS JavaScript SDK v3 mocks for easy unit testing. ๐Ÿ–‹๏ธ Typed ๐Ÿ”ฌ Tested ๐Ÿ“„ Documented ๐Ÿ› ๏ธ Maintained

m-radzikowski
โญ 909 TypeScript ๐Ÿ‘ค m-radzikowski User ๐Ÿ• Updated 2026-01-29 ๐Ÿ“… Created 2021-02-13
43
marchaos/jest-mock-extended

Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended

marchaos
โญ 908 TypeScript ๐Ÿ‘ค marchaos User ๐Ÿ• Updated 2026-10-08 ๐Ÿ“… Created 2019-11-15
44
httptoolkit/mockttp

Powerful friendly HTTP mock server & proxy library

httptoolkit
โญ 889 TypeScript ๐Ÿ‘ค httptoolkit Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2016-10-18
45
uber/mockolo

Efficient Mock Generator for Swift

uber
โญ 888 Swift ๐Ÿ‘ค uber Organization ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2018-12-14
46
lundberg/respx

Mock HTTPX with awesome request patterns and response side effects ๐Ÿฆ‹

lundberg
โญ 846 Python ๐Ÿ‘ค lundberg User ๐Ÿ• Updated 2026-07-21 ๐Ÿ“… Created 2019-11-13
47
NEIAPI/nei-toolkit

NEI Interface Documentation Management Platform Companion Automation Tools

NEIAPI
โญ 809 JavaScript ๐Ÿ‘ค NEIAPI Organization ๐Ÿ• Updated 2024-09-23 ๐Ÿ“… Created 2016-04-19
48
lipanski/mockito

HTTP mocking for Rust!

lipanski
โญ 788 Rust ๐Ÿ‘ค lipanski User ๐Ÿ• Updated 2026-08-01 ๐Ÿ“… Created 2016-01-10
49
rushiranpise/detection

Collection of Various Root Detection Apps for Android

rushiranpise
โญ 783 ๐Ÿ‘ค rushiranpise User ๐Ÿ• Updated 2026-08-08 ๐Ÿ“… Created 2023-11-10
50
tokopedia/gripmock

gRPC Mock Server

tokopedia
โญ 747 Go ๐Ÿ‘ค tokopedia Organization ๐Ÿ• Updated 2026-03-19 ๐Ÿ“… Created 2018-04-24

Frequently Asked Questions

1

What is the most popular #mock repository on GitHub?

The top ranked open source #mock project on GitHub is PanJiaChen/vue-element-admin with 90,241 stars. :tada: A magical vue admin https://panjiachen.github.io/vue-element-admin

2

Which programming languages are most used in #mock repositories?

Among the top ranked #mock projects on GitHub, the most common programming languages are TypeScript, JavaScript, Go, Python.

3

How is the #mock repository ranking calculated?

We track 69 active open source repositories tagged with #mock (500+ stars), totaling 376,224 stars with an average of 5,452 stars per repository. Rankings update daily from the GitHub API.