mockhttp
go-txdb
Our great sponsors
mockhttp | go-txdb | |
---|---|---|
3 | 1 | |
1,304 | 520 | |
- | 3.1% | |
1.6 | 0.0 | |
about 1 month ago | about 1 month ago | |
C# | Go | |
MIT License | GNU General Public License v3.0 or later |
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.
mockhttp
go-txdb
-
Unit Testing a Grom Application With a Real DB Server
The first one is TestMain, which could improve the lifecycle management of the container. The second one is DATA-DOG/go-txdb, this allows you to open a new db connection running in a transaction, so each test could have its own isolated DB connection.
What are some alternatives?
WireMock.Net - WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
go-sqlmock - Sql mock driver for golang to test database interactions
gock - HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽
mockhttp - Mock object for Go http.ResponseWriter
gomock - GoMock is a mocking framework for the Go programming language.
RestClient.Net - .NET REST Client Framework for all platforms
monkey - Monkey patching in Go
Fake - Fake data generator for Go (Golang)
govcr - HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing
webmock - Webmock for Golang, to stub requests.
go-localstack - Go Wrapper for using localstack
Mmock - Mmock is an HTTP mocking application for testing and fast prototyping