Pester
Pester copied to clipboard
Pester is the ubiquitous test and mock framework for PowerShell.
## Location - Pester version: 5.3.1 - Function: Should ## General summary of the issue The documentation for Pester's "Should" command does not make it 100% clear what to do...
## General summary of the issue When mock function fails parameter validation, the original function is executed with no warnings/errors reported. ## Describe your environment Pester version : 5.3.0 F:\Users\bozho\.powershell\modules\Pester\5.3.0\Pester.psm1...
## 1. General summary of the issue Pester's documentation is not up to the same standard as the rest of the module. ## 2. Describe Your Environment PowerShell 5, 7.0.3,...
## Summary of the feature request As a contributor or maintainer of a project I'd like to be able to help other contributors to correctly mock functions by failing a...
Don't know what you do wrong, it works for me, when the function is in module and even if it is not in module: ```powershell New-Module a -ScriptBlock { function...
## General summary of the issue When using the new code coverage profiler (`$PesterPreference.CodeCoverage.UseBreakpoints = $false`), Pester is reporting missing commands for parameter default value expressions. ex: ```powershell [Int]$Temperature =...
## Summary of the feature request The vscode proposed test UI has a very nice view window showing expected and actual results including a diff ![image](https://user-images.githubusercontent.com/15258962/122003167-916b8380-cd67-11eb-89d0-6497aab81aa3.png) I would like to...
## General summary of the issue ## Describe your environment Pester version : 5.3.0 C:\Program Files\PowerShell\Modules\Pester\5.3.0\Pester.psm1 PowerShell version : 7.1.4 OS version : Microsoft Windows NT 10.0.18363.0 ## Steps to...
If `Invoke-Pester` is called, the previous mocks will be invalidated. Of course, I know that requirements can be implemented in other ways, and this is just a report. https://github.com/Andy-AO/Shared/tree/master/PesterMockBug ```OutPut...
## 1. General summary of the issue I tend to write a chain of different `It` tests that expect a certain resource to be available during the whole execution of...