|Don't ask to ask, just ask|
Re^2: Inverting test conditions in Test::More ? (workaround)by LanX (Cardinal)
|on Jul 24, 2020 at 11:06 UTC||Need Help??|
Thanks, finally someone accepting my question! :)
> There doesn't seem to be a simple, generic way to negate an arbitrary test in Test::More AFAICT.
I just realized that all tests return a boolean result.
So here a workaround:
The TODO block ensures that there is no failed test in the final result.
But I still need to understand how to make the output of the failed inner test silent ... °
... I probably need to redirect the STDERR output of Test::Builder or fiddle with TAP altogether
°) Hmm... probably with subtests...