Context
During ex10 we fixed tests/Common/Environment.tests.ps1 (bare Mock in Describe body, if-wrapped Describe). A full audit was not completed across all 15 test files. Any remaining Pester 4 patterns risk silent test failures or incorrect behaviour under Pester 5.
Acceptance Criteria
Relevant Code Paths
tests/Unit/*.tests.ps1
tests/Common/*.tests.ps1
tests/Acceptance/Project.Tests.ps1
tests/Integration/Templates.Integration.Tests.ps1
Dependency
None — can be done independently.
Context
During ex10 we fixed
tests/Common/Environment.tests.ps1(bareMockinDescribebody,if-wrappedDescribe). A full audit was not completed across all 15 test files. Any remaining Pester 4 patterns risk silent test failures or incorrect behaviour under Pester 5.Acceptance Criteria
.tests.ps1files audited for: bareMock/MockWithoutsideBeforeAll/BeforeEach/It,ifblocks wrappingDescribe,Assert-MockCalled(Pester 4 assertion)Invoke-PesterlocallyRelevant Code Paths
tests/Unit/*.tests.ps1tests/Common/*.tests.ps1tests/Acceptance/Project.Tests.ps1tests/Integration/Templates.Integration.Tests.ps1Dependency
None — can be done independently.