In this article
Coding Standards/Powershell/Pester
| Field | Value |
|---|---|
| Kind | instruction |
| Source | .github/instructions/coding-standards/powershell/pester.instructions.md |
| Invocation | Applied automatically to **/*.Tests.ps1 |
| Interactive | No |
What it does
Instructions for Pester testing conventions
When to use it
Use these instructions whenever a .Tests.ps1 file adds or changes Pester
coverage, fixtures, mocks, or cleanup. They extend the PowerShell conventions
with repository test layout and Pester 5 patterns; run tests through the
repository test runner when it is available rather than invoking Pester
directly.
Example usage
Provide a concrete example that shows the asset in action, including representative input and the resulting output.