internal/version and pkg/chart/common imported "testing" only to call
testing.Testing(), pulling the testing package and its dependencies
into release binaries.
Replace those checks with exported KubeVersionMajorTesting /
KubeVersionMinorTesting sentinels that default to zero. A new
build-tagged file internal/version/version_helmtest.go seeds them in
init() and only compiles under -tags helmtest.
The Makefile applies -tags helmtest as a baseline so test-unit and
test-coverage work directly or via `make test`. scripts/coverage.sh
passes the tag to its raw `go test` call. CONTRIBUTING.md documents
that contributors running tests outside the Makefile must pass the
tag themselves.
Signed-off-by: Evans Mungai <mbuevans@gmail.com>
```
./scripts/coverage.sh 37.25s user 4.15s system 144% cpu 28.615 total
```
```
./scripts/coverage.sh 47.96s user 6.77s system 567% cpu 9.647 total
```