tableau
tableau copied to clipboard
test: add code coverage for Go integration tests
With Go 1.20, you can now build coverage-instrumented programs using go build -cover, then feed these instrumented binaries into an integration test to extend the scope of coverage testing.
References
- https://go.dev/blog/integration-test-coverage
- https://go.dev/doc/build-cover