·pester

PowerShell TDD testing framework guidance for Pester v5+. Use when writing, structuring, or debugging PowerShell unit tests; mocking cmdlets, native commands (bash, git, curl), or .NET types; isolating tests with TestDrive/TestRegistry; capturing output streams; generating code coverage or JUnit/NUnit reports for CI/CD; running parameterized or tagged tests; or troubleshooting Pester Discovery vs Run phase issues.

12Installs·0Trend·@oleksandrkucherenko

Installation

$npx skills add https://github.com/oleksandrkucherenko/e-bash --skill pester

How to Install pester

Quickly install pester AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/oleksandrkucherenko/e-bash --skill pester
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: oleksandrkucherenko/e-bash.

SKILL.md

View raw

Pester is PowerShell's ubiquitous test and mock framework. Pester 5+ uses a two-phase execution model (Discovery → Run) that requires specific patterns for reliable tests.

Test files use .Tests.ps1 naming convention. Place alongside source files:

| Describe | Top-level grouping (1 per function/feature) | Container | | Context | Scenario grouping ("when X", "with Y") | Sub-container | | It | Single test case with assertions | Test | | BeforeAll | Run once before all tests in block | Setup | | BeforeEach | Run before each It | Per-test setup |

PowerShell TDD testing framework guidance for Pester v5+. Use when writing, structuring, or debugging PowerShell unit tests; mocking cmdlets, native commands (bash, git, curl), or .NET types; isolating tests with TestDrive/TestRegistry; capturing output streams; generating code coverage or JUnit/NUnit reports for CI/CD; running parameterized or tagged tests; or troubleshooting Pester Discovery vs Run phase issues. Source: oleksandrkucherenko/e-bash.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/oleksandrkucherenko/e-bash --skill pester
Category
</>Dev Tools
Verified
First Seen
2026-02-20
Updated
2026-03-10

Browse more skills from oleksandrkucherenko/e-bash

Quick answers

What is pester?

PowerShell TDD testing framework guidance for Pester v5+. Use when writing, structuring, or debugging PowerShell unit tests; mocking cmdlets, native commands (bash, git, curl), or .NET types; isolating tests with TestDrive/TestRegistry; capturing output streams; generating code coverage or JUnit/NUnit reports for CI/CD; running parameterized or tagged tests; or troubleshooting Pester Discovery vs Run phase issues. Source: oleksandrkucherenko/e-bash.

How do I install pester?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/oleksandrkucherenko/e-bash --skill pester Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/oleksandrkucherenko/e-bash

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-20