Hi Noury,
You are right and reading your answer I understand I wasn't crystal clear.
I have a test scenario where sometimes a race condition occurs, so I'm not
expecting any error. Which is why I'd prefer something built-in Pharo: a sort
of "haltIfError" or "haltOnError" built-in command.Is ther
Hi Davide,
Why not use one of the following:
self should: ["message that might signal an error"] raise: Error "Replace Error
with the exception you want to catch"
self shouldnt: ["message that might signal an error"] raise: Error "Replace
Error with the exception you want to catch"
On Jan 3 202