test(compose): re-ratchet JaCoCo line-coverage floor to 0.84 (#386) #418

Merged
JMR-dev merged 1 commits from test-386-ratchet-floor into main 2026-07-07 08:33:12 +00:00
JMR-dev commented 2026-07-07 08:14:25 +00:00 (Migrated from github.com)

Summary

  • Final step of the Robolectric Compose epic (#373): batches #376-384 (plus infra/PoC #375) have all landed and are stable, so this re-ratchets the whole-app JVM line-coverage floor to match.
  • Measured actual coverage via :app:testDebugUnitTest :app:jacocoTestReport: 87.89% line (7994/9095), up from 80.21% (4838/6032) when the floor was last set.
  • Raises jacocoLineCoverageFloor in app/build.gradle.kts from 0.79 to 0.84 — a deliberately wider ~3.9% headroom (vs. the usual ~0.5-1% ratchet convention) since this is the first measurement after the whole conversion, so a conservative auto-pick. The maintainer can tighten it further in a follow-up PR.
  • Updates the "Baseline measured..." comment next to the floor, plus the two docs (CLAUDE.md, .claude/skills/preflight/SKILL.md) that mention the floor's current value.
  • No app/src/main change, so no new logging needed per Definition of Done.

Test plan

  • :app:testDebugUnitTest :app:jacocoTestReport — measured actual coverage (87.89%, 7994/9095 lines)
  • Full fast gate green with the new floor: :app:assembleDebug :app:testDebugUnitTest :app:jacocoTestCoverageVerification :app:compileDebugAndroidTestKotlin :app:lintDebug :app:ktlintCheck :app:detekt — jacocoTestCoverageVerification passing confirms actual (87.89%) clears the new floor (84%)
  • Confirmed no other stray references to the old 0.79 floor value in the repo

🤖 Generated with Claude Code

## Summary - Final step of the Robolectric Compose epic (#373): batches #376-384 (plus infra/PoC #375) have all landed and are stable, so this re-ratchets the whole-app JVM line-coverage floor to match. - Measured actual coverage via `:app:testDebugUnitTest :app:jacocoTestReport`: **87.89% line (7994/9095)**, up from 80.21% (4838/6032) when the floor was last set. - Raises `jacocoLineCoverageFloor` in `app/build.gradle.kts` from `0.79` to **`0.84`** — a deliberately wider ~3.9% headroom (vs. the usual ~0.5-1% ratchet convention) since this is the first measurement after the whole conversion, so a conservative auto-pick. The maintainer can tighten it further in a follow-up PR. - Updates the "Baseline measured..." comment next to the floor, plus the two docs (`CLAUDE.md`, `.claude/skills/preflight/SKILL.md`) that mention the floor's current value. - No `app/src/main` change, so no new logging needed per Definition of Done. ## Test plan - [x] `:app:testDebugUnitTest :app:jacocoTestReport` — measured actual coverage (87.89%, 7994/9095 lines) - [x] Full fast gate green with the new floor: `:app:assembleDebug :app:testDebugUnitTest :app:jacocoTestCoverageVerification :app:compileDebugAndroidTestKotlin :app:lintDebug :app:ktlintCheck :app:detekt` — `jacocoTestCoverageVerification` passing confirms actual (87.89%) clears the new floor (84%) - [x] Confirmed no other stray references to the old `0.79` floor value in the repo 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.