[
https://issues.apache.org/jira/browse/YUNIKORN-2135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785351#comment-17785351
]
PoAn Yang commented on YUNIKORN-2135:
-------------------------------------
No, we will keep using ginkgo. I think the change for this part is that we will
build a binary with `-cover` flag and use the binary with ginkgo e2e tests.
Finally, we will get the coverage data files from the image and calculate the
rate.
> Add integration test code coverage
> ----------------------------------
>
> Key: YUNIKORN-2135
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2135
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: test - e2e
> Reporter: PoAn Yang
> Assignee: PoAn Yang
> Priority: Major
>
> From [https://go.dev/testing/coverage/]:
> > Beginning in Go 1.20, Go supports collection of coverage profiles from
> > applications and from integration tests, larger and more complex tests for
> > Go programs.
> We have many integration test cases with ginkgo. It's good to have a new code
> coverage with golang new feature. We can use different
> [flags|https://github.com/codecov/codecov-action#usage] to submit
> unit/integration test code coverage to codecov.
>
> Ref: [https://go.dev/blog/integration-test-coverage]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]