Nice addition!
I should say that names are not really intention revealing.
What about haltIfTestExecutionEnvironment and haltIfDefaultExecutionEnvironment 
?

> Le 2 avr. 2018 à 21:12, Marcus Denker <[email protected]> a écrit :
> 
> 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

Reply via email to