Skip to content

1.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Aug 03:18
e89aa08

Raise test quality bar: coverage gate and diagnostic assertions (#55)

Summary

Brings the test suite closer to production-grade standards by raising the code coverage gate to match measured coverage and tightening several bare Should -Throw assertions so failures are diagnostic.

Changes

  • .github/PSModule.yml: raise Test.CodeCoverage.PercentTarget from 25 to 80.
  • tests/ConvertFrom-Yaml.Tests.ps1: add -ExpectedMessage patterns for duplicate-key, undefined-alias, and resource-limit error cases.
  • tests/ConvertTo-Yaml.Tests.ps1: add -ExpectedMessage patterns for depth, node, and scalar limit error cases.

Validation

  • Ran ConvertFrom-Yaml.Tests.ps1 and ConvertTo-Yaml.Tests.ps1: 109 passed, 0 failed.
  • Full suite previously measured 85.24% code coverage with 405 passed, 0 failed, 4 skipped (skipped tests are platform-specific filesystem cases).

Related

  • Quality review identified the 25% coverage target as below production grade.