Skip to content

test: add Pester coverage for Clear-PSBuildOutputFolder#109

Open
nthbotast wants to merge 1 commit intopsake:mainfrom
nthbotast:test/clear-output-folder-94-20260303-2302
Open

test: add Pester coverage for Clear-PSBuildOutputFolder#109
nthbotast wants to merge 1 commit intopsake:mainfrom
nthbotast:test/clear-output-folder-94-20260303-2302

Conversation

@nthbotast
Copy link

@nthbotast nthbotast commented Mar 3, 2026

Summary

  • add a dedicated Pester test file for Clear-PSBuildOutputFolder
  • verify the function removes an existing output folder recursively
  • verify it is a no-op when the folder does not exist
  • verify the path-length guard rejects paths with 3 or fewer characters

Issue

Closes #94

Testing

  • Not run locally in this environment (pwsh is unavailable on host).

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.

Tests: Clear-PSBuildOutputFolder

1 participant