Pester
Pester copied to clipboard
`Should-BeFals*`/`Should-BeTru*`: The commands are missing named parameter `Expected`
Checklist
- [X] Feature request has a meaningful title
- [X] I have searched the existing issues. See all issues
- [X] I have tested using the latest version of Pester. See Installation and update guide.
Summary of the feature request
Looking at the help for he commands
-
Should-BeFalse
-
Should-BeFalsy
-
Should-BeTrue
-
Should-BeTruthy
they are all missing the named parameter Expected
which for example Should-Be
and Should-BeExactly
has.
Also, these commands has the positional parameter 1 set to Actual
while position 2 is set to Because
. That also differ from Should-Be
and Should-BeExactly
which has position 1 set to Expected
and position 2 is set to Actual
.
How should it work?
Is this meant to be this way, or is this something that should be resolved? I curious because it would simplify conversion from Pester 5 format to Pester 6 format if the commands behave the same. 🙂