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

Add prioritize_line_class_coverage option #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

trsxxii
Copy link

@trsxxii trsxxii commented Apr 29, 2021

Hi @Malinskiy

Added an option to prioritize LINE (C0) coverage output for each class.
This is because even though the total coverage always outputs C0 coverage, the per-class coverage was prioritizing C1 if C1 was available. This would cause inconsistency, so the option to output C0 coverage was necessary.

The default behavior has been made the same as before, so there is no need for users to do anything after the upgrade. Users only need to set this option if they need it.

Thank you.

@Malinskiy
Copy link
Owner

Malinskiy commented May 11, 2021

Hey @trsxxii

Thanks for the PR.

Upon review I think it makes sense to have both options: prioritise branch/line coverage. Would you be able rework this to support an enum of sorts to select branch vs line?

Thanks much!

FYI: Travis is removed from the repo, I suggest merging with latest master to have the GitHub Actions config applied properly

@aiKrice
Copy link

aiKrice commented Jun 12, 2021

up @trsxxii

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.

3 participants