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

test: enforce test coverage #178

Merged
merged 3 commits into from
Jul 9, 2024
Merged

test: enforce test coverage #178

merged 3 commits into from
Jul 9, 2024

Conversation

nicklasl
Copy link
Member

@nicklasl nicklasl commented Jul 9, 2024

This PR introduces the kover plugin to enforce a test coverage percentage. Currently set to 80% line coverage for the provider and 78% for confidence.
The idea is that we fail PR's that makes coverage decrease below.
This is enforced via the gradle check.

Also added some tests to bump the coverage in Provider from ~58% to 80%+.

@nicklasl nicklasl merged commit f3fcd89 into main Jul 9, 2024
2 checks passed
@nicklasl nicklasl deleted the coverage branch July 9, 2024 09:48
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