Skip to content

#232 Enforce minimum coverage and refuse drops in SimpleCov - #270

Open
VasilevNStas wants to merge 2 commits into
zerocracy:masterfrom
VasilevNStas:232-coverage
Open

#232 Enforce minimum coverage and refuse drops in SimpleCov#270
VasilevNStas wants to merge 2 commits into
zerocracy:masterfrom
VasilevNStas:232-coverage

Conversation

@VasilevNStas

Copy link
Copy Markdown
Contributor

SimpleCov was configured with no minimum_coverage or refuse_coverage_drop, so the build would pass even with near-zero coverage.

Added:

  • SimpleCov.minimum_coverage 100 — matches current 100% line coverage
  • SimpleCov.refuse_coverage_drop — prevents silent erosion over time

Fixes #232

Added SimpleCov.minimum_coverage 100 and SimpleCov.refuse_coverage_drop
so the build fails when coverage drops below 100% or erodes over time.
- Add language specifier to fenced code block (MD040)
- Use 1-prefix for all ordered list items (MD029)
- Fix table pipe spacing (MD060)
- Break long table line under 80 chars (MD013)
@VasilevNStas
VasilevNStas requested a review from yegor256 as a code owner June 28, 2026 09:31
@VasilevNStas

Copy link
Copy Markdown
Contributor Author

@yegor256 please review

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.

test/test__helper.rb starts SimpleCov with no minimum_coverage, so the build accepts arbitrarily low coverage

1 participant