PesterForge

PesterForge writes your Pester tests.

PesterForge reads your PowerShell source and writes the Pester test file for you. Anything it can prove from the code becomes a real assertion; the rest come through as skipped stubs marked FILL IN until you supply the expected values. The module is free.

01 What it is

PesterForge is a PowerShell module with five commands, named the way PowerShell names things. New-PesterTests writes a ready-to-run test file for a function or script. Get-PesterCoverage scans a module and lists which functions have tests and which don't. Measure-FunctionTestability profiles a function before you start on it, New-TestProject lays out the folder structure, and Start-TestRun runs the suite. It's built on Pester, the framework PowerShell people already test with: every file PesterForge writes is an ordinary Pester test, and Pester is what runs it.

02 Pick your path

For developers

The quick start, plus a real function from the repo and the exact test file PesterForge generated for it. Works at the prompt, or from an AI agent in your editor over MCP.

PesterForge for developers →

For enterprise & IT teams

Coverage reports you can hand to an auditor. Test generation makes zero network calls by default, and output is scrubbed of machine names before it's returned. Every claim on that page names the test that proves it.

PesterForge for IT teams →

03 The rest of the site