mockery

Mock generator

Automated code generation tool for creating mock interfaces in Go

A mock code autogenerator for Go

GitHub

6k stars
33 watching
413 forks
Language: Go
last commit: about 1 month ago
Linked from 2 awesome lists

generationgeneratorgogolangmockmockgenmockingmocksstretchrtestifytesting

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
gojuno/minimock Generates mocks out of Go interface declarations to make testing easier and more efficient. 649
seborama/govcr An HTTP mock and API simulation tool for Go programming language 177
stretchr/testify A toolkit providing common assertions and mocks to support testing in Go programming language. 23,652
percolate/charlatan Tools to generate mock implementations of interfaces in Go programming language 203
matryer/moq A tool that generates mock implementations of interfaces for testing and code generation. 2,009
cweill/gotests Generates Go test boilerplate from source code 4,975
mocktools/go-smtp-mock A configurable, multithreaded SMTP mock server written in Go 132
golang/tools Provides tools and packages for static analysis and code transformation of Go programs. 7,430
data-dog/go-sqlmock A tool to simulate SQL driver behavior in Go tests without needing a real database connection. 6,181
friendsofgo/killgrave A tool to create and manage mock servers with customizable responses 524
corbym/gogiven Generates readable test output from Go code 15
google/starlark-go An implementation of the Starlark configuration language in Go. 2,377
gopherjs/gopherjs Compiles Go code to JavaScript for running in browsers 12,785
carvalhorr/protoc-gen-mock A tool that generates mock gRPC services from proto definitions to simplify testing and development workflows. 47
nsf/gocode An autocompletion daemon for the Go programming language 5,014