-
## 1. General summary
Mocking with Foreach-Object and Invoke-Restmethod doesn't return correct result
## 2. Environment
Operating System, Pester version and PowerShell version:
```
Pester v…
-
## 1. General summary
Pester tests fail when you try to see if a file contains a string. i.e
```
"c:\file.txt" | should contain "some words"
```
## 2. My Environment
Win 10 (1803)
Pester: 4…
-
```
Describing Job2 class API tests
+
[-] Verifies StopJobAsync API 224ms
Expected {Stopped}, but got {Failed}.
328: $job.JobStateInfo.State | Should -Be "Stopped"
…
-
This test fails on a4244c3c3825f4a108be5283a98bb6eb7a3e3508 (v4 branch)
``` powershell
Describe "Pester shoud understand arrays" {
It "two arrays are different" {
@(1) | Should not be @(1…
-
## 1. Provide a general summary of the issue in the Title above
We want our tests to load pester from a path so that we load a specific version from our branch and not a random version people may h…
-
## 1. Provide a general summary of the issue in the Title above
Should Not Match does not assert correctly across multiple lines.
Please review https://github.com/pester/Pester/wiki/Contributing-to-…
-
I don't have time to do a PR right now, but in case it helps (anyone).
This is a different version of the migration script which (in part) rewrites the "Should Contain" assertion. This particular v…
-
# Symptom:
Another transient error in Update-AzureRmVMss call, it fails sometimes.
# Log information
Snippet directly from the log:
case 1:
Update-AzureRmVmss : A task was cancel…
-
I'm using Poshspec for some minimal integration tests installing in our CI builds.
I have a new use case to check the contents of some files. But I have problems using the `File xxx { Should Contain …
-
In essence the following below fails. If the current value of LicenseUri is 'https://github.com/x', the call to update HelpInfoUri seems to revert LicenseUri back to that value.
```powershell
Updat…