When you run the tests from the command-line, the coverage of some files remain very low e.g. the GoflowKube reconciler below:
The cause is that the code coverage reports are ignoring the Ginkgo or TestEnv tests (e.g. the flowcollector_controler_test.go).
If you run the flowcollector_controler_test from an IDE e.g. Goland or IntelliJ IDEA, the reported coverage is accurate:
- relates to
-
NETOBSERV-80 Operator: goflow2 reconciler, add tests
- Closed
- links to