Context
Write-CoverageSummary.ps1 (ex10) runs all tests including integration tests to collect coverage. Unit tests use heavy mocking so they contribute 0 executed commands, making the reported percentage misleading. Integration tests are the only meaningful signal for coverage but are slow (~50s). A separate lightweight pass over unit tests would give a faster feedback loop.
Acceptance Criteria
Relevant Code Paths
scripts/Write-CoverageSummary.ps1 — main script to update
tests/Unit/ — unit tests (mock-heavy, low coverage signal)
tests/Integration/ — integration tests (real Plaster invocations, high coverage signal)
Context
Write-CoverageSummary.ps1(ex10) runs all tests including integration tests to collect coverage. Unit tests use heavy mocking so they contribute 0 executed commands, making the reported percentage misleading. Integration tests are the only meaningful signal for coverage but are slow (~50s). A separate lightweight pass over unit tests would give a faster feedback loop.Acceptance Criteria
Write-CoverageSummary.ps1accepts a-TestTypeparameter:Unit,Integration, orAllAllto preserve existing behaviourRelevant Code Paths
scripts/Write-CoverageSummary.ps1— main script to updatetests/Unit/— unit tests (mock-heavy, low coverage signal)tests/Integration/— integration tests (real Plaster invocations, high coverage signal)