InvokePester
InvokePester is the primary command in the Pester testing framework for PowerShell used to execute tests written with Pester’s behavior-driven style. It runs tests defined with Describe, Context, and It blocks, which are typically organized across one or more script files or directories. The command can operate on individual scripts, entire folders, or test blocks loaded in memory, making it suitable for both small units and larger module test suites.
When invoked, InvokePester discovers the tests in the specified location and executes them, applying any filters
Output and results from InvokePester are designed to be consumable by both humans and automation systems. The
Typical usage patterns include running all tests within a project by pointing InvokePester at a tests directory,
See also: Pester, PowerShell, test automation, continuous integration.