capell-app/pest-plugin-blade-coverage
A Pest plugin that adds Blade template coverage to Laravel test suites, helping you identify which view files are exercised by tests and where untested Blade code remains.
.blade.php files), adopting a plugin that integrates into existing Laravel coverage runs keeps engineering effort focused on product features.Consider adoption when:
resources/views as uncovered or absent, indicating blind spots in the presentation layer.resources/views) — the default-first configuration keeps onboarding to near-zero effort.Look elsewhere or defer when:
To executives: This is a small, low-cost developer tooling addition that closes a measurement gap in our quality reporting. Today we can tell you how well our backend code is tested, but not our user-facing templates. This package makes that visible and lets us set enforceable quality gates — reducing the risk of UI regressions reaching customers without adding headcount or a new platform.
To engineering leads: It's a Blade coverage plugin that plugs into the coverage runs we already have, defaults to the standard resources/views path so setup is essentially zero-config, and supports monorepo layouts via opt-in. It gives per-template coverage attribution that raw PHPUnit coverage can't provide, and it's small enough to evaluate behind a flag in one sprint. Caveat: it's at v0.1.3 — early-stage. Recommend a contained trial in CI reporting mode only (non-blocking) before we make any threshold enforcing.
Recommendation: Approve a timeboxed pilot (one service, reporting-only) to validate signal quality; revisit enforcement and broader rollout once the package stabilizes past 1.0 and we have baseline numbers.
How can I help you explore Laravel packages today?