|4 months ago||1 day ago|
|Apache License 2.0||MIT License|
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.
Patterns for unit testing in Go?
1 project | reddit.com/r/golang | 21 Jan 2022
I use https://github.com/cweill/gotests to generate the test scaffolding.
Share your must-know Go development tips
7 projects | reddit.com/r/golang | 26 Dec 2021
1 project | reddit.com/r/devopskhan | 29 Oct 2021
¿Como estructurar tu aplicación en Go?
6 projects | dev.to | 9 May 2021
Learn Go in ~5mins
3 projects | news.ycombinator.com | 5 Jan 2021
You can save yourself a minute and generate the test case boilerplate for your with https://github.com/cweill/gotests :)
Testza - A modern test framework with pretty output
2 projects | reddit.com/r/golang | 25 Aug 2021
What are people’s thoughts on testing frameworks? I’ve heard that most devs only use the testing package in the standard library and the testify package for assertions— I assume this is because Go is meant to be lightweight and scalable, and adding external dependencies basically goes against that. But I’ve also seen devs use packages like ginkgo to make tests more structured and readable. What do you guys think?
What are your favorite packages to use?
55 projects | reddit.com/r/golang | 15 Aug 2021
Ginkgo Behavioural test framework
Air – Live reload when developing with Go
6 projects | news.ycombinator.com | 30 Jul 2021
If you write your tests with Ginkgo  its CLI can do this for you. It also has nice facilities to quickly disable a test or portion of a test by pretending an X to the test function name, or to focus a test (only run that test) by prepending an F. It’s pretty nice.
Half a million lines of Go at The Khan Academy
5 projects | news.ycombinator.com | 16 May 2021
The BDD testing framework Ginko  has some "weird" / unidiomatic patterns, yet it is very popular
Ginkgo for unit testing?
2 projects | reddit.com/r/golang | 4 May 2021
To settle an argument amongst my coworkers, I started a Twitter poll on using Gingko for golang unit testing. Some like the framework because it makes tests clean. Others hate it with a firey passion.
6 projects | dev.to | 19 Nov 2020
As a big fan of automated testing, it’s comforting to learn that we can easily write tests for our controllers using envtest (which runs a local k8s control plane so we can run our tests against it), the Gingko testing framework and the Gomega matching/assertion library:
What are some alternatives?
Testify - A toolkit with common assertions and mocks that plays nicely with the standard library
GoConvey - Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.
godog - Cucumber for golang
goblin - Minimal and Beautiful Go testing framework
httpexpect - End-to-end HTTP and REST API testing for Go.
gocheck - Rich testing for the Go language
gomock - GoMock is a mocking framework for the Go programming language.
baloo - Expressive end-to-end HTTP API testing made easy in Go
selenoid - Selenium Hub successor running browsers within containers. Scalable, immutable, self hosted Selenium-Grid on any platform with single binary.
Gauge - Light weight cross-platform test automation
go-cmp - Package for comparing Go values in tests
go-sqlmock - Sql mock driver for golang to test database interactions