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

fix: remove filter on coverage measurement #320

Merged
merged 1 commit into from
Sep 3, 2021
Merged

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Sep 3, 2021

Purpose

We forgot to update the config here, so coverage is appearing lower than it should (at least relative to the other repos).

What the code is doing

Stop excluding test files in the measurement.

Testing

n/a

Time estimate

1 min

@jenhagg jenhagg self-assigned this Sep 3, 2021
Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense. I forgot why we excluded test files previously though.

Copy link
Collaborator

@BainanXia BainanXia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@jenhagg
Copy link
Collaborator Author

jenhagg commented Sep 3, 2021

Make sense. I forgot why we excluded test files previously though.

We thought it was skewing the results to have 100% coverage on many test files. But realized that is fine/expected, better to measure coverage on everything and just have a different baseline.

@jenhagg jenhagg merged commit 7e99b60 into develop Sep 3, 2021
@jenhagg jenhagg deleted the jon/coverage branch September 3, 2021 20:30
@BainanXia
Copy link
Collaborator

Make sense. I forgot why we excluded test files previously though.

We thought it was skewing the results to have 100% coverage on many test files. But realized that is fine/expected, better to measure coverage on everything and just have a different baseline.

Aha, make sense. a/b < a+c/b+c when 0 < a < b and c > 0.

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