Skip to content

Conversation

@nohwnd
Copy link
Member

@nohwnd nohwnd commented Feb 20, 2025

PR Summary

Add Should-HaveParameter and its Not variant.

Fix #2618

@nohwnd
Copy link
Member Author

nohwnd commented Feb 20, 2025

from the issues mentioned here: #2618 (comment)

I moved the Actual down to enable the pipeline consuming. (to address #2527 (comment))
I exposed just the parameter name in the Not variant to address #2105

I tried to check the default value, but now we don't have the actual value in our hand, because we are using the ast approach, so we just have extents, maybe I can check that but no-one asked for he feature so I did not want to waste too much time on it https://github.com/pester/Pester/tree/check-parameter-default-type

@nohwnd
Copy link
Member Author

nohwnd commented Feb 21, 2025

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 1 pipeline(s).

@nohwnd nohwnd merged commit 48446f3 into main Apr 8, 2025
11 checks passed
@nohwnd nohwnd deleted the add-should-haveparameter branch April 8, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Should-HaveParameter, to replace Should -HaveParameter

2 participants