Closed ornamentist closed 9 years ago
I think when_fail
is for the handling when test is unintentionally failed. I haven't been able to find the appropriate way, but tried to fix some of the exception scenario in the commit above. Any comments & suggestions are appreciated.
I'll try that out. Many, many thanks for excheck BTW.
I'm closing at the moment. Please reopen if you find any issues.
Hi,
I'd like to create a property that should raise an exception if successful, e.g. abs("foo"). Is the when_fail predicate the idiomatic way to handle this situation?
Thanks,
Stu