pester-testing

Community

Idiomatically test PowerShell modules with Pester 5

Authorjanegilring
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Write idiomatic Pester 5 tests for PowerShell modules. Use this skill whenever a user asks to add tests, fill coverage gaps, or validate AI-generated PowerShell code. Targets Pester 5+ syntax (BeforeAll/Describe/It, no Pester 4 patterns).

Core Features & Use Cases

  • Generate tests that exercise the module surface (ExportedFunctions, cmdlets, parameters) using Pester 5 conventions.
  • Enforce test structure with BeforeAll, Describe, Context, and It blocks, plus appropriate skip logic for non-target platforms.
  • Identify coverage gaps and provide guidance to extend tests for edge cases, error handling, and parameter validation.

Quick Start

Create a set of Pester 5 tests for the current PowerShell module to validate exported surface and parameter behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pester-testing
Download link: https://github.com/janegilring/powershell-ai-skills-and-mcp/archive/main.zip#pester-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.