godog
venom
Our great sponsors
godog | venom | |
---|---|---|
3 | 2 | |
1,662 | 540 | |
2.9% | 3.9% | |
7.2 | 8.0 | |
9 days ago | 10 days ago | |
Go | Go | |
MIT License | Apache License 2.0 |
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.
godog
-
Behaviour Driven Development (BDD) boilerplate tests generator
It looks like it is not possible to share steps between scenario's or features. In https://github.com/cucumber/godog it is possible to share steps.
-
Behaviour Driven Development (BDD) boilerplate tests generator for Golang
Differences between gherkingen and godog are:
- BDD (Behavior-driven development) mit Go
venom
-
Debugging with GDB
I still struggle with GDB but my excuse is that I seldom use it.
When I was studying reverse engineering though, I came across a really cool kit (which I've yet to find an alternative for lldb, which would be nice given: rust)
I'd recommend checking it out, if for no other reason than it makes a lot of things really obvious (like watching what value lives in which register).
LLDB's closest alternative to this is called Venom, but it's not the same at all. https://github.com/ovh/venom
-
Do you write integration tests in go?
We incorporated [Venom](https://github.com/ovh/venom) into our workflow. It's great for initiating and managing a suite of yaml based tests. It didn't work out of the box for us due to the heavily asynchronous nature of our system, but after a few additions, it has helped my team greatly. We were often afraid to make large changes to critical pieces of the system since a full regression test could take a week or so to check everything. Now it takes an hour.
What are some alternatives?
ginkgo - A Modern Testing Framework for Go
GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
assert - :exclamation:Basic Assertion Library used along side native go testing, with building blocks for custom assertions
gomega - Ginkgo's Preferred Matcher Library
httpexpect - End-to-end HTTP and REST API testing for Go.
dockertest - Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.
go-cmp - Package for comparing Go values in tests
testcontainers-go - Testcontainers is a Golang library that providing a friendly API to run Docker container. It is designed to create runtime environment to use during your automatic tests.
gotestfmt - go test output for humans
Gauge - Light weight cross-platform test automation
go-mutesting - Mutation testing for Go source code