Frode Flaten

Results 405 comments of Frode Flaten
trafficstars

Implementer will find all relevant code [here](https://github.com/pester/Pester/blob/main/src/functions/assertions/HaveParameter.ps1). Parameter type needs to be changed + add a loop to test each alias. ErrorMessage should specify which aliases was missing (or preset...

The PowerShell PR is stuck and won't reach all users of Pester, so I think we should support this. I would suggest a switch like `-UsePSTypeNames` to be explicit when...

Status: - CI is unified in Azure Pipelines - Static analysis enabled and scanning PRs using GitHub Actions - Help for public functions are validated using tests. Only mandatory for...

The issue is that since the dynamic module doesn't exist prior to execution then we can't inject the required alias to enable mocks. When you call `Mock ...`, Pester hijacks...

Thanks for the report. The `PackageManagement`-module in general is unfortunately problematic due to it's use of dynamic parameters. See #2094 _possibly related to #339_

Thanks for the report. I can confirm the issue. The following lines might indicate it's a known limitation because we couldn't register a hit for parameter values either way. https://github.com/pester/Pester/blob/13d65958ae6dc33bb18824b6acb48509f11b6784/src/functions/Coverage.ps1#L1213-L1218...

Oh, I see it. The message show the parameter value being calculated, but the extent we're able to get at that point is just the reference/call to the function. ![image](https://user-images.githubusercontent.com/3436158/146922018-d92fdb65-3e1c-4626-934c-4197584d27fa.png)

Thanks for the report! Feel free to submit a PR if you'd like to contribute the fix. Should be enough to add the parameter in the internal-function and include it...

We should also consider to add Because to InvokeVerifiable (+ Internal) considering we do list the parameter as a good practice for assertions. Even though the error-messages are already long...

NUnit3 schema supports: - Inconclusive - Skipped - Passed - Warning (in schema, not in docs) - Failed