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: almost 2 years ago
Linked from 2 awesome lists

generationgeneratorgogolangmockmockgenmockingmocksstretchrtestifytesting

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
gojuno/minimockGenerates mocks out of Go interface declarations to make testing easier and more efficient.649
seborama/govcrAn HTTP mock and API simulation tool for Go programming language177
stretchr/testifyA toolkit providing common assertions and mocks to support testing in Go programming language.23,652
percolate/charlatanTools to generate mock implementations of interfaces in Go programming language203
matryer/moqA tool that generates mock implementations of interfaces for testing and code generation.2,009
cweill/gotestsGenerates Go test boilerplate from source code4,975
mocktools/go-smtp-mockA configurable, multithreaded SMTP mock server written in Go132
golang/toolsProvides tools and packages for static analysis and code transformation of Go programs.7,430
data-dog/go-sqlmockA tool to simulate SQL driver behavior in Go tests without needing a real database connection.6,181
friendsofgo/killgraveA tool to create and manage mock servers with customizable responses524
corbym/gogivenGenerates readable test output from Go code15
google/starlark-goAn implementation of the Starlark configuration language in Go.2,377
gopherjs/gopherjsCompiles Go code to JavaScript for running in browsers12,785
carvalhorr/protoc-gen-mockA tool that generates mock gRPC services from proto definitions to simplify testing and development workflows.47
nsf/gocodeAn autocompletion daemon for the Go programming language5,014