You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It would be great to have the e2e tests coverage reports as they cover much a bigger part of the code base compared to unit tests.
Some resources:
Describe the solution you'd like
Build the binary with -cover flag, run the binary with GOCOVERDIR=some_coverage_dir and at the end of the e2e test run merge those files to have a nice (hopefully) high overall coverage report.
Describe alternatives you've considered
I do not think there is any.
Additional context
The tricky part is getting those reports, because currently the CI runs the e2e tests using kind. As mentioned in the docs graceful shutdown is needed for the program to write it's report, so a simple kubectl cp command might not be enough (not tested, just a theory).
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It would be great to have the e2e tests coverage reports as they cover much a bigger part of the code base compared to unit tests.
Some resources:
Describe the solution you'd like
Build the binary with
-cover
flag, run the binary withGOCOVERDIR=some_coverage_dir
and at the end of the e2e test run merge those files to have a nice (hopefully) high overall coverage report.Describe alternatives you've considered
I do not think there is any.
Additional context
The tricky part is getting those reports, because currently the CI runs the e2e tests using kind. As mentioned in the docs graceful shutdown is needed for the program to write it's report, so a simple
kubectl cp
command might not be enough (not tested, just a theory).The text was updated successfully, but these errors were encountered: