Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-to-end test code coverage support #8

Open
mattolenik opened this issue Nov 7, 2020 · 0 comments
Open

End-to-end test code coverage support #8

mattolenik opened this issue Nov 7, 2020 · 0 comments

Comments

@mattolenik
Copy link
Owner

mattolenik commented Nov 7, 2020

The E2E tests run cloudflare-ddns as an actual compiled program, performing a full end-to-end test against CloudFlare. This creates a problem where coverage data cannot be easily captured. Use the Go test binary coverage hack method (see https://blog.cloudflare.com/go-coverage-with-external-tests for one example) and merge coverage data with unit test coverage data before publishing coverage results.

@mattolenik mattolenik changed the title E2E test code coverage support End-to-end test code coverage support Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant