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 vue-element-admin (90.1K stars), json-server (75.7K stars) and googletest (39.7K stars). GitHub.Locker tracks 16 Mock repositories with 417.4K stars combined. The fastest-growing on October 17 was keploy, with +14 stars in a day.
Hot right now
Most stars gained in a day · Oct 17
keploy
keploy/keploy · ★ 18.6KKeploy 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.
scalar
scalar/scalar · ★ 16.3KScalar 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.
+6googletest
google/googletest · ★ 39.7KGoogle'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.
+6soybean-admin
soybeanjs/soybean-admin · ★ 15.1KSoybeanAdmin 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.
The all-time top
16 projects · by stars
- 90.1K
#1 · PanJiaChen/vue-element-adminvue-element-admin
vue-element-admin is a production-ready front-end solution for building admin interfaces, built on Vue and the element-ui component toolkit.
- 75.7K
#2 · 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.7K
#3 · 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.
- 4

yapi
27.7KYMFE/yapi · JavaScriptYApi is a visual API management platform for developers, product managers and QA: one place to document, debug, mock and automatically test your APIs.
- 5

Faker
26.6Kfzaninotto/Faker · PHPFaker is a PHP library that generates fake data for you, such as names, addresses, phone numbers, emails, and more.
- 6
keploy
18.6Kkeploy/keploy · GoKeploy 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.
- 7
msw
18.3Kmswjs/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.
- 8
scalar
16.3Kscalar/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.
- 9
faker
15.5Kfaker-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.
- 10

mockito
15.5Kmockito/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.
- 11

soybean-admin
15.1Ksoybeanjs/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.
- 12

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.
- 13

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.
- 14
douyin
11.5Kzyronon/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.
- 15

ant-design-vue-pro
10.9KvueComponent/ant-design-vue-pro · VueAn out-of-box UI solution for enterprise applications: a Vue 2 boilerplate that ships a complete admin dashboard built on Ant Design Vue, so you start from a working app instead of an empty project.
- 16

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.
Related topics
Often tagged together