pester/pester

Pester is the ubiquitous test and mock framework for PowerShell.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 4 minutes ago
Added to GitGenius on September 20th, 2026
Created on January 2nd, 2011
Open Issues & Pull Requests: 66 (+0)
GitHub issues: Enabled
Number of forks: 477
Total Stargazers: 3,343 (+0)
Total Subscribers: 150 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 49
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,296 days
Stale 30+ days: 41
Stale 90+ days: 9

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Feature (69)
  • Mocking (28)
  • Assertions (23)
  • Documentation (18)
  • Bug (15)
  • Code coverage (13)
  • Help Wanted (10)
  • Output and CI (6)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Pester is a test and mock framework for PowerShell.

Pester addresses the need for structured testing in PowerShell environments by providing a framework for writing and executing tests using both traditional assertion-based and behavior-driven development styles. The framework supports mocking, allowing developers to isolate units of code and verify their behavior in controlled conditions. Tests are written in PowerShell itself and can be executed through the command line or integrated into development environments like VSCode.

Pester suits teams building PowerShell automation, infrastructure code, or administrative scripts who want to ensure reliability through automated testing. It works across Windows, Linux, and macOS wherever PowerShell runs, and is compatible with Windows PowerShell 5.1 and PowerShell 7.4 and newer. The framework is particularly valuable for those already invested in PowerShell who need native testing capabilities without adopting external tools or languages.

The project maintains an active contributor community with a structured approach to onboarding. Issues are labeled to guide new contributors, distinguishing between good first issues intended to be straightforward and more complex ones requiring discussion. The maintainers have published a contributor guide and actively solicit help from the community. The project uses code signing with DigiCert certificates and maintains compatibility across multiple PowerShell versions and operating systems.