Skip to content

Upgrade validation suite to Pester 6.2.0 - #23

Merged
vartaxe merged 1 commit into
mainfrom
upgrade-pester-6
Oct 6, 2026
Merged

vartaxe merged 1 commit into
mainfrom
upgrade-pester-6

Conversation

@vartaxe

@vartaxe vartaxe commented Oct 6, 2026

Copy link
Copy Markdown
Owner

Summary

Upgrade the repository's pinned validation toolchain from Pester 5.7.1 to Pester 6.2.0 while retaining Windows PowerShell 5.1 support. Pester 6's explicit no-fall-through mock behavior required a narrow test-only SMB mock correction; production code and the v1.0.0 release metadata remain unchanged.

Validation

  • build\Invoke-Validation.ps1 passes on Windows PowerShell 5.1
  • PSScriptAnalyzer returns no findings
  • Pester 6.2.0 discovery and tests pass
  • Full validation runs without -SkipChecksums; manifest matches worktree and candidate git archive
  • Live results are recorded separately, with untested scenarios explicitly pending
  • Documentation updated if behavior changed
  • No credentials, internal values, or sensitive logs included

Validation command and result:

powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\build\Invoke-Validation.ps1 -Tag v1.0.0

Passed: 140, Failed: 0, Skipped: 0, Inconclusive: 0, NotRun: 0. Pester 6.2.0, Windows PowerShell 5.1.26100.9444, PSScriptAnalyzer 1.25.0. SHA-256 manifest verified against exact source bytes.

No live ConfigMgr, WinPE, or SMB integration testing was performed.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 20:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vartaxe
vartaxe merged commit 63473af into main Oct 6, 2026
7 checks passed
@vartaxe
vartaxe deleted the upgrade-pester-6 branch October 6, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants