Please stick to using Go’s testing package conventions.

Before using any third party libraries for testing, please make sure they are strictly necessary.

For integration tests, use the practice described here.

TLDR: Use go test -short ./... (unit tests only) mostly. Use go test ./... for full testing suite (including integration tests).

Edit this page on GitHub