Marcus I think that the if is important because I had hard time to understand how I should use it and I proposed them.
On Thu, Apr 5, 2018 at 9:10 AM, Marcus Denker <marcus.den...@inria.fr> wrote: > > > On 3 Apr 2018, at 21:56, Christophe Demarey <christophe.dema...@inria.fr> > wrote: > > Nice addition! > I should say that names are not really intention revealing. > What about haltIfTestExecutionEnvironment and > haltIfDefaultExecutionEnvironment ? > > To long and too implementation centered. > > I would even shorten it to haltIfTest and haltIfNotTest. > > Le 2 avr. 2018 à 21:12, Marcus Denker <marcus.den...@inria.fr> 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 > > This PR implements them: > > 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 > > >