Skip to content

Bump Pester to 6.1 - #475

Merged
HeyItsGilbert merged 3 commits into
mainfrom
chore/bump-pester-6.1
Sep 13, 2026
Merged

HeyItsGilbert merged 3 commits into
mainfrom
chore/bump-pester-6.1

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Summary

  • pin Pester at 6.1.0
  • update tests for Pester 6 mock and empty -ForEach behavior

Verification

  • ./build.ps1 -Task Test (249 passed, 0 failed, 2 skipped)

Copilot AI lite review requested due to automatic review settings September 13, 2026 00:18

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.

🔵 Needs a closer look

Conditional JSON templates with an explicit empty default still resolve to $null; distinguish missing defaults from empty defaults and add regression coverage.

Pull request overview

Updates the project to Pester 6.1.0 and adds support for explicit empty text defaults in manifest processing.

Changes:

  • Pins Pester to 6.1.0.
  • Updates Pester test and mock behavior.
  • Adds empty-default handling and regression coverage.
File summaries
File Description
tests/Help.tests.ps1 Updates empty -ForEach test handling.
tests/Get-PlasterManifestPathForCulture.Tests.ps1 Updates Pester mock setup.
tests/EmptyDefaultTextParameter.Tests.ps1 Adds empty-default regression coverage.
requirements.psd1 Pins Pester to 6.1.0.
Plaster/Private/Resolve-ProcessParameter.ps1 Supports explicit empty defaults.
Plaster/Private/Read-PromptForInput.ps1 Supports empty input handling.
Plaster/Private/ConvertFrom-JsonManifest.ps1 Preserves explicit empty JSON defaults.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 13, 2026

Copy link
Copy Markdown

Test Results

  4 files  288 suites   1m 10s ⏱️
248 tests 246 ✅ 2 💤 0 ❌
992 runs  984 ✅ 8 💤 0 ❌

Results for commit 0b3bd1a.

♻️ This comment has been updated with latest results.

@HeyItsGilbert
HeyItsGilbert merged commit cd6cd49 into main Sep 13, 2026
7 checks passed
@HeyItsGilbert
HeyItsGilbert deleted the chore/bump-pester-6.1 branch September 13, 2026 00:33
HeyItsGilbert added a commit that referenced this pull request Sep 13, 2026
## [2.1.4] - 2026-09-13

### Fixed

- Explicit empty text defaults in JSON manifests now remain empty rather
than being treated as absent, while blank prompt input is accepted only
when a default is declared
([#474](#474), closes
[#473](#473))
- Pester 6.1.0 compatibility for mocks and empty `-ForEach` data sets
([#475](#475))
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