Hi,
As we can not very easily decide if we are inside a test execution or not there
was the idea to have special #halt messages
https://pharo.fogbugz.com/f/cases/20151/new-halt-messages
<https://pharo.fogbugz.com/f/cases/20151/new-halt-messages>
This PR implements them:
https://github.com/pharo-project/pharo/pull/1177
<https://github.com/pharo-project/pharo/pull/1177>
There is now #haltIfInsideTest and #haltfOutsideTest. In addition, the PR adds
a helper method to make checking if the current
execution environment is a test run a bit easier: "CurrentExecutionEnvironment
value isTest”.
Marcus