johndog

Results 7 issues of johndog

## 1. General summary of the issue Title sums it up. To reproduce, use Invoke-Pester on the following tests.ps1 code: ``` function TestFunction($Parameter1) { } Mock TestFunction {} It 'should...

Bug - external to Pester

## 1. General summary of the issue Conversation starter. Currently, the documented usage of mock involves verifying that a function gets called a certain number of times, optionally with given...

Mocking

... or -CallingModule, etc. The name "-Module" suggests that Mock needs to know which module is providing the function to be mocked, not which calling module needs to have the...

Feature
Mocking

v5 is a massive breaking change. Anyone with a sizeable body of v4 tests will not be able to migrate all at once, and may not even own the ability...

documentation

## Feature description Many of my repo instances are part of a larger 'enlistment' concept that requires the repo directory name to always be "src". (these are all actually copies...

type: feature request
:neckbeard: status: pull request only

If I create a .kql document and put in the following code: ``` let BytesInMB=(bytes: long) { round(bytes / 1024.0 / 1024.0, 2) }; print a=BytesInMB(42) ; ``` I'd like...

feature
help wanted

With the following code, hovering over any keyword results in a tooltip ```Cannot read properties of undefined (reading: 'IsOptional')``` ``` .create-or-alter function BytesInMB(bytes: long) { round(bytes / 1024.0 / 1024.0,...

bug
help wanted