Categories

Testing

Libraries for testing codebases and generating test data.

Repos

297

Stars

277,502

30 days

+2,015

Testing Frameworks

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
percolate

Go Interface Mocking Tool

Created Oct 2017 Archived

code-generation go interfaces mock testing
Total 205
30 days +0

Mock

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
xhd2015

All-in-one go testing library

Created Mar 2024

coverage coverage-report go go-test go-testing
Total 432
30 days +1
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
30 days +0

More

h2non

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

Created Mar 2016

api assertions expectations go http
Total 2,215
30 days +0
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
tokopedia

gRPC Mock Server

Created Apr 2018

grpc mock mockserver
Total 747
30 days +0
go-redis

Redis client Mock

Created Dec 2020

go-redis mock redis-mock
Total 341
30 days +0
petergtz

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

Created May 2016

golang mock mocking-framework
Total 298
30 days +0
ovechkin-dm

Mockito for golang

Created Mar 2023

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

Build and test APIs easily

Created May 2022

api api-mocking command-line-tool e2e-tests golang
Total 173
30 days +0
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
30 days +0
migueleliasweb

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

Created Jul 2021

github go go-github golang mock
Total 140
30 days +0
nhatthm

gRPC Test Utilities for Golang

Created Oct 2021

go golang grpc mock test
Total 112
30 days +0
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
30 days +0
bilibili-base

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

Created May 2021

bilibili grpc http mock mock-server
Total 105
30 days +0
dankinder

Lightweight HTTP mocking in Go (aka golang)

Created Apr 2018

golang http httptest mock
Total 81
30 days +0
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
30 days +0
Tencent

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

Created Nov 2023

devops go golang mock tdd
Total 61
30 days +0
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
gcapizzi

A Go mocking framework.

Created Sep 2017

go golang mock mocking tdd
Total 50
30 days +0
NeowayLabs

Golang AMQP mocking library

Created Mar 2016 Archived

amqp fake golang library mock
Total 167
30 days +0
vitorsalgado

Build Mock APIs in Go (unmaintained: Use VLatte)

Created Jun 2022 Archived

go golang golang-library http mock
Total 53
30 days +1

From awesome-go (MIT), plus repos sorted by Jev.