pester / Pester

Pester is the ubiquitous test and mock framework for PowerShell.

Home Page:https://pester.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

don't return values from assertions except for throw

nohwnd opened this issue · comments

Checklist

What is the issue?

leave chaining of assertions for later

Expected Behavior

no value out from 1 | Should-BeTruthy

Steps To Reproduce

No response

Describe your environment

No response

Possible Solution?

No response

Did you find a problem?

I just don't think it is that practical. It was originally done to chain the assertions but it makes it harder to debug, and you can chain them via soft-assertions. So I am removing that functionality for now.

👍 Should we close #1906 as won't fix then?