GitHub topics

mock

Mostly in Testing 59%

Repositories

42

Total stars

45,383

Trending

keploy

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

Created Jan 2022

agentic-ai ai-testing-tool api-testing code-quality mock
Total 19,962
30 days +1,321
vektra

A mock code autogenerator for Go

Created Sep 2014

generation generator go golang mock
Total 7,189
30 days +15
DATA-DOG

Sql mock driver for golang to test database interactions

Created Feb 2014

database go golang mock sql
Total 6,581
30 days +9
bytedance

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

Created Sep 2022

golang mock test testing
Total 912
30 days +5
marle3003

Your API mocking tool for OpenAPI and AsyncAPI using Go and JavaScript - https://mokapi.io

Created Apr 2020

api-mocking api-simulation api-testing fake javascript
Total 61
30 days +3
pb33f

The world's coolest API Validation and compliance tool. Validate APIs against OpenAPI specifications and much more

Created May 2023

api api-gateway api-rest api-server api-testing
Total 238
30 days +2
carbonblack

Binee: binary emulation environment

Created Jun 2019

analysis binary binary-analysis emulation hooks
Total 533
30 days +2
xhd2015

All-in-one go testing library

Created Mar 2024

coverage coverage-report go go-test go-testing
Total 432
30 days +1
ovechkin-dm

Mockito for golang

Created Mar 2023

go golang mock mocking mockito
Total 197
30 days +1
LinuxSuRen

Open source API testing tool. 开源接口调试、测试工具。Mock Server

Created Jun 2022

api api-testing graphql grpc hacktoberfest
Total 370
30 days +1

Top

keploy

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

Created Jan 2022

agentic-ai ai-testing-tool api-testing code-quality mock
Total 19,962
vektra

A mock code autogenerator for Go

Created Sep 2014

generation generator go golang mock
Total 7,189
DATA-DOG

Sql mock driver for golang to test database interactions

Created Feb 2014

database go golang mock sql
Total 6,581
h2non

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

Created Mar 2016

api assertions expectations go http
Total 2,215
bytedance

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

Created Sep 2022

golang mock test testing
Total 912
irahardianto

Simple clean Go REST API architecture with dependency injection and mocking example, following SOLID principles.

Created Aug 2017

api circuit-breaker clean-architecture dependency-injection design-patterns
Total 900
tokopedia

gRPC Mock Server

Created Apr 2018

grpc mock mockserver
Total 747
friendsofgo

Simple way to generate mock servers written in Go

Created Apr 2019

go golang golang-application hacktoberfest http
Total 564
q191201771

🍀 Golang basic library. || Go语言基础库

Created Aug 2019

assert atomic big-endian bitrate bits
Total 535
carbonblack

Binee: binary emulation environment

Created Jun 2019

analysis binary binary-analysis emulation hooks
Total 533
muonsoft

OpenAPI mock server with random data generation

Created Aug 2018

mock mock-server openapi openapi3 swagger
Total 529
xhd2015

All-in-one go testing library

Created Mar 2024

coverage coverage-report go go-test go-testing
Total 432
LinuxSuRen

Open source API testing tool. 开源接口调试、测试工具。Mock Server

Created Jun 2022

api api-testing graphql grpc hacktoberfest
Total 370
go-redis

Redis client Mock

Created Dec 2020

go-redis mock redis-mock
Total 341
petergtz

Pegomock is a powerful, yet simple mocking framework for the Go programming language

Created May 2016

golang mock mocking-framework
Total 298
pb33f

The world's coolest API Validation and compliance tool. Validate APIs against OpenAPI specifications and much more

Created May 2023

api api-gateway api-rest api-server api-testing
Total 238
traefik

Naive code generator that creates mock implementation using testify.mock

Created Jun 2022

go golang mock mock-generator testify
Total 209
percolate

Go Interface Mocking Tool

Created Oct 2017

code-generation go interfaces mock testing
Total 205
seborama

HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing

Created Jul 2016

api-simulation aws-s3 go go-vcr golang
Total 200
ovechkin-dm

Mockito for golang

Created Mar 2023

go golang mock mocking mockito
Total 197
dhuan

Build and test APIs easily

Created May 2022

api api-mocking command-line-tool e2e-tests golang
Total 173
NeowayLabs

Golang AMQP mocking library

Created Mar 2016

amqp fake golang library mock
Total 167
holmes89

Little API to demonstrate various microservice design principles and technologies

Created Sep 2018

docker faas hexagonal-architecture mock terraform
Total 147
Use-Tusk

Automated testing suite with live traffic record and replay

Created Sep 2025

api-testing mock test-automation test-automation-framework test-generation
Total 144
migueleliasweb

A library to aid unittesting code that uses Golang's Github SDK

Created Jul 2021

github go go-github golang mock
Total 140
sanposhiho

Mr. gomockhandler is the clever and more agile manager of golang/mock (uber/mock) 👔

Created Mar 2021

cli go golang mock mockgen
Total 118
gusaul

Amazon Dynamo DB Mock Driver for Golang to Test Database Interactions

Created Apr 2017

dynamodb go golang mock nosql
Total 117
nhatthm

gRPC Test Utilities for Golang

Created Oct 2021

go golang grpc mock test
Total 112
mockzilla

Open-source OpenAPI mock server with cloud hosting and local modes for development, testing, and CI. Generates realistic API responses from specs with latency simulation, error injection, proxy fallback, and request validation. Validated against 2,200+ real-world OpenAPI specs.

Created Apr 2026

api-management api-simulation api-testing ci-cd code-generation
Total 111
bilibili-base

Support for gRPC/HTTP protocol, feature-rich Mock Server implementation.

Created May 2021

bilibili grpc http mock mock-server
Total 105
jukylin

微服务应用框架

Created Jan 2020

cola ddd dependency-injection distributed microservice
Total 101
lytics

Cloud & local storage unified api (s3, google, azure, sftp, local)

Created Sep 2015

abstractions cloud-storage golang google-cloud-storage lio-dependency
Total 88
dankinder

Lightweight HTTP mocking in Go (aka golang)

Created Apr 2018

golang http httptest mock
Total 81
bavix

The fastest and most reliable gRPC mock server for testing and development

Created Aug 2023

gripmock grpc-mock grpc-mock-server grpc-mocking mock
Total 78
wzshiming

[Moved to https://github.com/kubernetes-sigs/kwok] This is a fake kubelet. that can simulate any number of nodes and maintain pods on those nodes. It is useful for test control plane.

Created Jul 2020

fake fake-kubelet fake-pod k8s kubelet
Total 67
loopfz

Gadgeto! is a collection of tools that aim to facilitate the development of REST APIs in Go.

Created Nov 2015

golang golang-library http mock rest-api
Total 63
Tencent

go语言mock库, 用于编写go语言单元测试时,mock函数、接口等场景

Created Nov 2023

devops go golang mock tdd
Total 61
marle3003

Your API mocking tool for OpenAPI and AsyncAPI using Go and JavaScript - https://mokapi.io

Created Apr 2020

api-mocking api-simulation api-testing fake javascript
Total 61
phenixblue

Capture Kubernetes cluster state to a portable archive and replay it through a mock API server — use kubectl against a customer's environment without live cluster access.

Created Apr 2026

api capture cli debugging k8s
Total 55
vitorsalgado

Build Mock APIs in Go (unmaintained: Use VLatte)

Created Jun 2022

go golang golang-library http mock
Total 53
gcapizzi

A Go mocking framework.

Created Sep 2017

go golang mock mocking tdd
Total 50

Related

All topics →