minimock
mockit
Our great sponsors
minimock | mockit | |
---|---|---|
1 | 1 | |
452 | 8 | |
0.4% | - | |
2.9 | 4.9 | |
8 months ago | 16 days ago | |
Go | Go | |
MIT License | GNU General Public License v3.0 only |
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.
minimock
-
How do you control behaviour in mocked interface ?
In our company projects we use https://github.com/gojuno/minimock for units
mockit
-
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?
gomock - GoMock is a mocking framework for the Go programming language.
mockery - A mock code autogenerator for Golang
httpmock - HTTP mocking for Golang
go-sqlmock - Sql mock driver for golang to test database interactions
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.
hoverfly - Lightweight service virtualization/API simulation tool for developers and testers
Mmock - Mmock is an HTTP mocking application for testing and fast prototyping
webmock - Webmock for Golang, to stub requests.
gomate.io - Behavior-driven development tool for GoLang
monkey - Monkey patching in Go
prettybenchcmp - cmd tool for automatic storage and comparison of benchmarks results