webmock
Webmock for Golang, to stub requests. (by hlcfan)
minimock
Powerful mock generation tool for Go programming language (by gojuno)
Our great sponsors
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webmock
Posts with mentions or reviews of webmock.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning webmock yet.
Tracking mentions began in Dec 2020.
minimock
Posts with mentions or reviews of minimock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-21.
- How do you write/generate mocks for testing?
-
How do you control behaviour in mocked interface ?
In our company projects we use https://github.com/gojuno/minimock for units
What are some alternatives?
When comparing webmock and minimock you can also consider the following projects:
mockery - A mock code autogenerator for Go
gomock - GoMock is a mocking framework for the Go programming language.
go-txdb - Immutable transaction isolated sql driver for golang
go-sqlmock - Sql mock driver for golang to test database interactions
httpmock - HTTP mocking for Golang
counterfeiter - A tool for generating self-contained, type-safe test doubles in go
realize - Realize is the #1 Golang Task Runner which enhance your workflow by automating the most common tasks and using the best performing Golang live reloading.
gock - HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
gomate.io - Behavior-driven development tool for GoLang