monkey
One line to mock functions/methods/variables in place without dependency injection or code generation (by awterman)
mockit
Library that make mocking of Go functions/methods easy (by pasdam)
monkey | mockit | |
---|---|---|
- | 1 | |
2 | 16 | |
- | - | |
4.6 | 4.1 | |
7 months ago | about 1 year ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 only |
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.
monkey
Posts with mentions or reviews of monkey.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning monkey yet.
Tracking mentions began in Dec 2020.
mockit
Posts with mentions or reviews of mockit.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Unit Testing in Golang
A different approach to mocking in Go https://github.com/pasdam/mockit that is more similar to JavaScript and Mockito (Java).
What are some alternatives?
When comparing monkey and mockit you can also consider the following projects:
monkey - Monkey patching in Go
httpmock - HTTP mocking for Golang
hoverfly - Lightweight service virtualization/ API simulation / API mocking tool for developers and testers
go-sqlmock - Sql mock driver for golang to test database interactions
go-txdb - Immutable transaction isolated sql driver for golang
gomock - GoMock is a mocking framework for the Go programming language.
gock - HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
mockery - A mock code autogenerator for Go
go-smtp-mock - SMTP mock server written on Golang. Mimic any 📤 SMTP server behavior for your test environment with fake SMTP server.