Search code examples
How can you mock an ErrorRecord with Pester in Powershell?...

powershellunit-testingerror-handlingpester

Read More
How to use temporary files and folder in GitHub Actions with PowerShell Pester...

powershellgithub-actionscicdpestertemporary-directory

Read More
Trouble mocking Powershell function with Pester that takes a Pipeline parameter...

powershellpester

Read More
Problem using PowerShell Class contained in module when running Pester test for a different module t...

powershellpester

Read More
Cannot get Pester Test to use Mock for "New-Object OfficeOpenXml.ExcelPackage"...

powershellmockingpester

Read More
Mocking a pipeline function that returns a single object from the end block...

powershellmockingpipelinepesterpester-5

Read More
Pester 'It' or 'Context' array iteration...

powershellpester

Read More
How do I mock Read-Host in a Pester test?...

powershellpester

Read More
Test Invocations of `Set-NetFirewallProfile` having the `-Profile` argument using Pester mocking...

powershellpesterpester-5

Read More
The mock in my pester test keeps calling Connect-AzAccount...

azurepowershellpester

Read More
Pester not calling mocked function (Invoke-RestMethod), calling real function...

powershellpester

Read More
How to use Pester New-MockObject with class from within a module...

powershellpester

Read More
PowerShell Pester : Use a variable in multiple It-blocks and recognize function when invoked from Po...

powershellpester

Read More
How do I Powershell Pester Test for ThrowTerminatingError...

powershelltestingpester

Read More
Comparing hashtables in Pester...

hashtableequalitypowershell-corepester

Read More
Pester Test Case giving error in BeforeDiscovery with null value...

azurepowershellazure-devopsazure-pipelines-yamlpester

Read More
How do I make Pester catch a thrown error?...

powershellpester

Read More
How do I use Pester to test for both an error and a wrong value?...

powershellpester

Read More
How to specify what to do if a Pester assertion fails?...

powershellpester

Read More
How to deal with Break statement that is causing Issue for Pester on Should -Invoke Command...

powershellpester

Read More
Pester Mock a command within a PowerShell class function...

powershellclassmockingpester

Read More
How to MOCK a PowerShell cmdlet that appears multiple times with different purposes in a function us...

powershellpester

Read More
How to get Pester Mocks working in a script...

powershellpester

Read More
Pester, Powershell How to go about and implement both tests with external data and non-external data...

powershellunit-testingtestingpester

Read More
Writing pester test for existing script...

powershellpester

Read More
Format for specifying exception type in Should -Throw -ExceptionType...

pesterpester-5

Read More
Can Pester v5 Mock command be called outside an It, Before or After block?...

powershellpesterpester-5

Read More
Pester: How do I keep my script from running?...

powershellpester

Read More
PowerShell module with class defined in separate file fails Pester tests in GitHub Actions...

powershellclassgithub-actionspesterpowershell-module

Read More
Passing parameter to Pester -testcases...

powershelltestingpesterpester-5

Read More
BackNext