Closed Scal-Human closed 8 months ago
Hi. This was a known breaking changes in v5 to be considered in the future.
Inconclusive and Pending states are currently no longer available, -Pending and -Inconclusive are translated to -Skip both on test blocks and when using Set-ItResult
A PR is currently being reviewed to implement Inconclusive and deprecate Pending, see #2405. 🙂
Hi, yes, I saw it but I was fooled by the deprecation aspect. I looked at the code and saw nothing concerning Inconclusive except the title. It is important to preserve the Inconclusive while indeed the Pending is less useful. Thanks, Have a nice day
It is important to preserve the Inconclusive while indeed the Pending is less useful.
👍 Closing as kinda duplicate of #2400 with the mentioned PR. Thanks for using Pester. Have a great week.
Checklist
What is the issue?
The results reported by Pester are incorrect when using Set-ItResult. It reports Skipped while expecting Pending or Inconclusive.
Expected Behavior
When the Set-ItResult is used the result should be the given one (Pending or Inconclusive).
Steps To Reproduce
Having
and calling
Describe your environment
Output is
passthru content is
Possible Solution?
None