This repository was archived by the owner on Jul 11, 2023. It is now read-only.
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
(root) Improve test coverage (goal: 80%) #1489
Closed
Description
The current go test coverage is low for many modules as shown below.
Filing this issue for tracking the test coverage improvement.
As of 2021-06-30
make go-test-coverage
reports 70% unit test coverage.
- Create a unit test for recordEnvoyPodMetadata in pkg/envoy/ads/grpc.go #3363
- Tests: add tests for pkg/envoy/ads #3408
- test: cmd/cli/dashboard.go osm dashboard command #3412
- test: cmd/cli/trafficpolicy_check.go #3415
- test: cmd/cli/proxy_get.go #3416
- test: cmd/cli/* cobra flags #3417
- Tests: add test case to pkg/envoy/rds create response #3422
- test: pkg/certificate/providers/config.go functions #3425
- Tests: add test to pkg/ingress package #3429
- Tests: add test to pkg/injector #3432
- test: pkg/certificate/providers/tresor/certificate.go - NewCertManager() failures #3437
- CI environment for multicluster #3452
- test: pkg/certificate/providers/vault/certificate_manager.go functions #3458
- tests: Create a test matrix per k8s distribution per test suite - report test passes/failures per dimension #3559
- Add documentation for and test to verify install Helm chart can be used as a dependency in other charts #3563