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

Added simple test coverage overview #4928

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

andreas-jonsson
Copy link
Contributor

Added kcov to the build pipeline and upload the result to codecov.io for easy visualization of the test coverage in Odin.

You can find the results here: https://app.codecov.io/gh/andreas-jonsson/Odin/

Consider this more of a demo then something that should be merged as is.

@Feoramund
Copy link
Contributor

This is awesome. I didn't know you could check code coverage without leveraging the compiler in some way or making an ad-hoc inline collector that ticked some flags when certain paths were crossed. I remember seeing some LLVM documentation for their coverage generation with the hopes that we could one day use it, but if something like this exists, then maybe we don't need to.

Really cool demo, even if it's not merged.

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

Successfully merging this pull request may close these issues.

2 participants