mockery

Mock generator

Automated code generation tool for creating mock interfaces in Go

A mock code autogenerator for Go

GitHub

6k stars
33 watching
412 forks
Language: Go
last commit: 7 days ago
Linked from 2 awesome lists

generationgeneratorgogolangmockmockgenmockingmocksstretchrtestifytesting

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
gojuno/minimock Generates mocks from Go interface declarations to simplify unit testing 640
seborama/govcr An HTTP mock tool that records and replays interactions for offline testing of Go applications. 174
stretchr/testify A toolkit providing common assertions and mocks to support testing in Go programming language. 23,493
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. 1,995
cweill/gotests Generates Go test boilerplate from source code 4,957
mocktools/go-smtp-mock A configurable, multithreaded SMTP mock server written in Go 128
golang/tools Provides tools and packages for static analysis and code transformation of Go programs. 7,401
data-dog/go-sqlmock A tool to simulate SQL driver behavior in Go tests without needing a real database connection. 6,153
friendsofgo/killgrave A tool to create and manage mock servers with customizable responses 522
corbym/gogiven Generates readable test output from Go code 15
google/starlark-go An implementation of the Starlark configuration language in Go. 2,348
gopherjs/gopherjs Compiles Go code to JavaScript for running in browsers 12,759
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,011