Skip to content

v0.20.0-preview0002

Pre-release
Pre-release

Choose a tag to compare

@dscbot dscbot released this 02 Jul 12:54
4b8d410

[v0.20.0-preview0002]

Fixed

  • Fail_Build_If_HQRM_Tests_Failed now fails the build when the Pester run
    reports failed blocks or failed containers (for example a discovery failure
    such as an empty -ForEach), not only when FailedCount is greater than zero.
    Such container/discovery failures leave FailedCount at 0, so the previous
    gate let them pass as a green build. The task now gates on the Pester Result
    property, matching the check already used in Invoke_HQRM_Tests.
  • Added tag AllowSuppressMessageAttribute to test Should not suppress the required rule to allow usage of SuppressMessageAttribute #135.