diff
diff contains git-style diff generation helpers, particularly useful for tests. (by terrastruct)
go-hit
http integration test framework (by Eun)
diff | go-hit | |
---|---|---|
- | 3 | |
7 | 250 | |
- | - | |
10.0 | 6.1 | |
over 1 year ago | 8 days ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
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.
diff
Posts with mentions or reviews of diff.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning diff yet.
Tracking mentions began in Dec 2020.
go-hit
Posts with mentions or reviews of go-hit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-17.
- Go: HTTP Integration Test Framework
-
Is that a unit test a.k.a how do you test your API endpoints?
I mostly just do integration tests, meaning spinning up the whole service utilizing testcontainers-go for postgres/redis. My main.go file is small and I just start the service in the test code and test using my integration test framework (https://github.com/Eun/go-hit).
-
is there any api testing library/framework in go?
Check out https://github.com/Eun/go-hit
What are some alternatives?
When comparing diff and go-hit you can also consider the following projects:
testza - Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
covergates - The portal gates to coverage reports
Gauge - Light weight cross-platform test automation
ginkgo - A Modern Testing Framework for Go
goblin - Minimal and Beautiful Go testing framework
GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
gherkingen - Behaviour Driven Development tests generator for Golang
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
godog - Cucumber for golang
go-cmp - Package for comparing Go values in tests