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

[Feature] Option to add test coverage percentage to output #22

Open
deefdragon opened this issue May 19, 2024 · 0 comments
Open

[Feature] Option to add test coverage percentage to output #22

deefdragon opened this issue May 19, 2024 · 0 comments

Comments

@deefdragon
Copy link

I currently have my tests output a covere-file to know how much Ive covered my code. It would be really cool to
1: Have an option to include that file getting generated automatically and or
2: Then parse that file for a coverage percentage to include in the top level output display data. (Passed, Failed, Skipped, Coverage% for each package/total)

It would require parsing the file to determine what percentage has been covered, but it would be helpful to know. That said, unsure if its THAT worth to spend time parsing the file.

Two asides.
1: This is the format of the output file,
<FILENAME>:<StartLine>.<StartCol>,<StopLIne>.<StopCol><Space><ReleventLines><Space><Covered/Not (1/0)>
2: There are also integration tests that have coverage support now, so it may be worth considering when implementing.

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