Closed 030 closed 8 months ago
https://mickey.dev/posts/go-build-tags-testing/
on top of go files:
integration tests: // +build integration
unit tests: // +build !integration
go test ./... --tags=integration
https://mickey.dev/posts/go-build-tags-testing/
on top of go files:
integration tests: // +build integration
unit tests: // +build !integration
go test ./... --tags=integration