Pester icon indicating copy to clipboard operation
Pester copied to clipboard

Pester is the ubiquitous test and mock framework for PowerShell.

Results 280 Pester issues
Sort by recently updated
recently updated
newest added

## PR Summary Calls to base constructors like `base()` were discovered never hit by breakpoint or tracer CC. PowerShell only hits scriptblock contents of both constructors. Adding base ctor call...

## PR Summary Throws when user provides scriptblocks that are not bound to a session state. They would be executed in Pester's module state which could cause unexpected behaviour. Examples:...

## PR Summary Add tests for typical custom assertions to make sure we don't break specifications from docs. Fix #2384 ## PR Checklist - [x] PR has meaningful title -...

> In Pester v5 I really loved the simplicity of negating a statement: > > ```powershell > .. | Should -Invoke Get-Process > .. | Should -Not -Invoke Get-Process >...

### Checklist - [X] Feature request has a meaningful title - [X] I have searched the existing issues. See [all issues](https://github.com/pester/Pester/issues?q=is%3Aissue) - [X] I have tested using the latest version...

Feature
Assertions

Related to #2490 Add missing Description sections to new `Should-*` functions. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/pester/Pester/issues/2490?shareId=ba3621fe-3370-498a-9a9a-d1c4cea782c0).

## PR Summary **WIP** When a command is mocked by only parameterized mocks, throw for calls not matching any filters unless `-AllowFallback` is specified. Fix #2166 Fix #2178 TODO -...

## PR Summary Updates website links to use versioned URLs to make sure they don't break when v6 is released. Fix #2503 ⚠️ Pending this PR for new links to...

### Checklist - [X] Feature request has a meaningful title - [X] I have searched the existing issues. See [all issues](https://github.com/pester/Pester/issues?q=is%3Aissue) - [X] I have tested using the latest version...

Feature
Assertions