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
I'd like to ultimately be able to derive total code coverage for all of our tests combined, including both unit tests and e2e tests (and merge them, and ideally have our CI generate that).
This article describes how to generate a binary for your code which can create code coverage. First step is to try creating that binary, create a Dockerfile which uses it, use that to generate a Docker image, and try it out in place of our standard Numaplane image (or alternatively use the same image as we normally do but with a different command).
Then see if you can create code coverage when running one of the e2e tests.
Summary
I'd like to ultimately be able to derive total code coverage for all of our tests combined, including both unit tests and e2e tests (and merge them, and ideally have our CI generate that).
This article describes how to generate a binary for your code which can create code coverage. First step is to try creating that binary, create a Dockerfile which uses it, use that to generate a Docker image, and try it out in place of our standard Numaplane image (or alternatively use the same image as we normally do but with a different command).
Then see if you can create code coverage when running one of the e2e tests.
One option is to get the file produced from the container and copy it to your local machine using
kubectl cp
: https://botkube.io/learn/copying-files-with-kubectl-cpMessage from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: