Topics / #mock
Mock projects on GitHub
Mocking APIs and simulating services for development and tests.
As of , the most-starred Mock projects on GitHub are json-server (75.7K stars), googletest (39.8K stars) and keploy (19.9K stars). GitHub.Locker tracks 13 Mock repositories with 264.3K stars combined. The fastest-growing on December 1 was keploy, with +22 stars in a day.
Hot right now
Most stars gained in a day · Dec 1
keploy
keploy/keploy · ★ 19.9KKeploy is an open-source tool that auto-generates API and integration tests from real traffic: it records your API calls, database queries and streaming events, then replays them as tests.
soybean-admin
soybeanjs/soybean-admin · ★ 15.4KSoybeanAdmin is a clean, elegant and feature-rich admin template for Vue3 — a ready-made dashboard boilerplate built on Vite, TypeScript, Pinia, NaiveUI and UnoCSS that works out of the box.
+5googletest
google/googletest · ★ 39.8KGoogle's testing and mocking framework for C++, built on the xUnit architecture. It merges the formerly separate GoogleTest and GoogleMock projects, which Google now maintains and releases together.
json-server
typicode/json-server · ★ 75.7Kjson-server lets you spin up a fully working fake REST API in under 30 seconds, with no backend code to write — just a single JSON file defining your data.
The all-time top
13 projects · by stars
- 75.7K
#1 · typicode/json-serverjson-server
json-server lets you spin up a fully working fake REST API in under 30 seconds, with no backend code to write — just a single JSON file defining your data.
- 39.8K
#2 · google/googletestgoogletest
Google's testing and mocking framework for C++, built on the xUnit architecture. It merges the formerly separate GoogleTest and GoogleMock projects, which Google now maintains and releases together.
- 19.9K
#3 · keploy/keploy
keploy
Keploy is an open-source tool that auto-generates API and integration tests from real traffic: it records your API calls, database queries and streaming events, then replays them as tests.
- 4
msw
18.4Kmswjs/msw · TypeScriptMock Service Worker (MSW) is the industry-standard API mocking library for JavaScript. It intercepts the network requests your app makes and serves mock responses you define, so you never touch a real backend.
- 5
scalar
16.4Kscalar/scalar · TypeScriptScalar is an open-source API platform: a modern, offline-first REST API client built for OpenAPI (a Postman alternative), plus an interactive API reference that renders OpenAPI/Swagger documents and looks nothing like 2011.
- 6
faker
15.6Kfaker-js/faker · TypeScriptFaker is a JavaScript/TypeScript library that generates massive amounts of fake but realistic data — names, addresses, dates, finance records — for testing and development, in the browser and Node.js.
- 7

mockito
15.4Kmockito/mockito · JavaMockito is a mocking framework for unit tests written in Java, and the most popular one: it creates mock objects so you can test a class in isolation from its dependencies.
- 8
soybean-admin
15.4Ksoybeanjs/soybean-admin · TypeScriptSoybeanAdmin is a clean, elegant and feature-rich admin template for Vue3 — a ready-made dashboard boilerplate built on Vite, TypeScript, Pinia, NaiveUI and UnoCSS that works out of the box.
- 9

nock
13.1Knock/nock · JavaScriptNock is a Node.js library that mocks HTTP servers so you can test code that performs HTTP requests without hitting a real network.
- 10

faker
11.9Kfaker-ruby/faker · RubyFaker is a Ruby library that generates realistic-looking fake data (names, addresses, emails, phone numbers, and more) for testing, demos, and seeding databases.
- 11
douyin
11.6Kzyronon/douyin · VueA Vue3 + Pinia clone of Douyin (TikTok), built to showcase best practices for using Vue on mobile with a native-app-like smooth short-video feed.
- 12

mockery
10.7Kmockery/mockery · PHPA PHP mock object framework for unit testing: it builds test doubles (mocks) through a succinct, human-readable DSL, so your tests can call fakes instead of real objects.
- 13

proxycrab
314Yricky/proxycrab · RustProxyCrab is an open-source HTTP/HTTPS traffic capture and debugging tool built for developers and AI agents. It lets you filter failing requests, track debugging changes, and share a captured session with others.
Related topics
Often tagged together