Pester
Pester copied to clipboard
Pester is the ubiquitous test and mock framework for PowerShell.
### Checklist - [X] Issue 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 of...
### 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...
## PR Summary Add Reasons to block and test results. Allowing for providing a reason when skipping a block with `-Skip`, or seeing the reported reason when using `Set-ItResult`. Fixes...
### 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...
## 1. General summary of the issue When using a mock, you can specify a `ParameterFilter`. When the mock is being evaluated for whether or not it should be executed,...
I try to mock Set-PSRepository ``` Describe "SetPSRepository" { Mock Set-PSRepository It "Should work" { Set-PSRepository -Name "PSGallery" -InstallationPolicy "Trusted" } } ``` If I run this I get: ```...
### Checklist - [X] Issue 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 of...
### Checklist - [x] Issue 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 of...
### Checklist - [x] Issue 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 of...
### Checklist - [x] Issue 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 of...