-
Sorry to open an issue but #33 is locked, I can't comment there.
I've been playing with `PowerShell` and it's test framework `Pester`:
> The convention is to assert a single expectation for eac…
-
Getting the error below. Looks like beExactly needs to be added as a function for Pester?
RuntimeException: '-BeExactly' is not a valid Should operator.
at Get-TestResult, C:\Program Files\W…
-
Having trouble understanding how mocking handles [ValidateScript] / [ValidatePattern]. It seems when I mock out a function that uses either of these Parameter options, Powershell still performs the va…
-
#### Details of the scenario you tried and the problem that is occurring
I'm not yet sure when it began, but all recent pull requests are failing during CI/CD due to issues in 'Tests\Integration\MSFT…
-
#### Issue
I wanted to see if it’s currently possible to Mock a cmdlet from an imported module, and also use the -TestCases parameter for the It block? While I’m able to combine TestCases and Mock …
-
Steps to reproduce
------------------
I extended integration test
```powershell
It 'Add-VSTeamBuildDefinition should add a build definition' {
Add-VSTeamBuildDefinition -Proje…
-
## 1. Provide a general summary of the issue in the Title above
`(Get-Item 'TestDrive:').FullName` resolves to something like `/tmp/81aefdf3-1fb6-40c6-9ec6-01939211013c` on macOS, but its realpath …
-
### Question
I'm trying to create a Share extension that has access to my host application's database. The problem is that users already have the SQLite file created and populated. I know the path…
-
In the pull request #959 new assertions were added.
Quotation from the pull request description
> Add -Because parameters to all assertions Fixes #312
> Add -BeLessOrEqual and -BeGreaterOrEqual…
-
# Describe "Koan Bug, Issue, or Help Request"
I noticed that the last test 'does not throw exceptions with invalid indexes' in the Foundations\AboutArrays.Koans.ps1 file passes without any user…