-
Some of of my PowerShell scripts that I run on Mac failed with the following exception:
"The script failed due to call depth overflow."
After some investigation, I came to the conclusion that the al…
-
Certain assertions return the actual type.. but PesterBeOfTypeFailureMessage line 15..
https://github.com/pester/Pester/blob/630077a53bb974b775da0d79b920e438a18e969b/Functions/Assertions/BeOfType.ps1…
-
Now Pester v3.4.5 support output filters https://github.com/pester/Pester/issues/645. We can use this to reduce the CI output.
Currently we use very old Pester version 3.3.9 (May 23, 2015) so perha…
-
Datetimes can differ in milliseconds, but Pester doesn't reflect that. If we write
``` powershell
#!/usr/bin/powershell
Describe "Datetime tests" {
Context "'2016-10-29 08:54:47' is '2016-10-29 …
-
As of issue #327, the recently merged guideline should also change to reflect the new Pester syntax.
https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#capitalized-pester-asse…
-
Just upgraded to Pester 4.0.7 (from 4.0.6) and it looks like the `Contain` operator is gone:
```
It 'Should Overwrite Existing File' {
Set-Content -Path $tempFile -Value 'Hello world!…
-
I enabled executing test from the file Functions\Gherkin.Tests.ps1 (I commented the [line](https://github.com/pester/Pester/blob/2c1f24b855014ad1e6468e19009fbba930cfc1cc/Functions/Gherkin.Tests.ps1#L3…
-
I am not sure how the test is connecting, but we do not have the latency output by the test.
`Executing script C:\GitHub\dbachecks\checks\latency.Tests.ps1
Describing Testing network latency
…
-
Steps to reproduce
------------------
1) Create new file catalog for one of the modules in your system (using New-FileCatlog)
2) Run Test-FileCatlog on the catalog created in step 1.
```powershel…
-
# Question
What is the suggested way to display additional error information about a test failure if available?
Think of a check for every element in a list. When there is an error, how do you kno…