Categories

Testing

Libraries for testing codebases and generating test data.

Repos

297

Stars

277,512

30 days

+2,021

Testing Frameworks

stretchr

A toolkit with common assertions and mocks that plays nicely with the standard library

Created Oct 2012

assertions go golang mocking testify
Total 26,278
30 days +55

Mock

vektra

A mock code autogenerator for Go

Created Sep 2014

generation generator go golang mock
Total 7,189
30 days +15
SpectoLabs

Lightweight service virtualization/ API simulation / API mocking tool for developers and testers

Created Nov 2015

api-mock api-mocking api-simulation go golang
Total 2,536
30 days +10
matryer

Interface mocking tool for go generate

Created Aug 2016

codegen golang mocking testing
Total 2,210
30 days +4

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
steinfletcher

A simple and extensible behavioural testing library for Go. You can use api test to simplify REST API, HTTP handler and e2e tests.

Created Dec 2018

api-testing behavioural-tests blackbox-testing golang jsonpath
Total 849
30 days +4
Trendyol

HTTP mocking to test API services for chaos scenarios

Created Jul 2020

api chaos go mocking
Total 213
30 days +0
ovechkin-dm

Mockito for golang

Created Mar 2023

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

🕋 Mocking Redis in unit tests in Go.

Created Aug 2018

golang mocking redis redismock stub
Total 149
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
benweissmann

Easily run an in-memory MongoDB server for your Go unit tests

Created Jun 2019

golang mocking mongo mongodb unit-testing
Total 89
30 days +0
tryvium-travels

Easily run an in-memory MongoDB server for your Go unit tests

Created Aug 2021

golang mocking mongo mongo-memory-server mongodb
Total 67
30 days +0
gcapizzi

A Go mocking framework.

Created Sep 2017

go golang mock mocking tdd
Total 50
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.