LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi
What's the recommended way to invert a test? IOW I want it to fail?
E.g Test::More has is_deeply() but no is_not_deeply()
See Re: Test scalar refs (not values) in deeply nested structure (workaround) for examples which need to fail.
Do I really need to redirect the TAP output and parse it again?
Not looking for workarounds for is_deeply but for general test logic. ( I could just serialize a nested structure with Data::Dump and compare the strings)
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
Back to
Seekers of Perl Wisdom