#golang
Read more stories on Hashnode
Articles with this tag
Golang has really good support for unit testing out of the box. With the go test CLI and the testing std library you can do almost *everything. One of...
TLDR: Randomize the execution order of tests and benchmarks with -shuffle off,on,N flag. As a general guideline, it's bad for unit tests to depend on...