2017-06-02 9:26 GMT+02:00 Denis Kudriashov <[email protected]>: > 2017-06-02 8:52 GMT+02:00 Stephane Ducasse <[email protected]>: > >> - haltOnlyInTest >> - haltOnlyOutOfTest >> > > With process specific variable CurrentExecutionEnvironment it should be > very easy to implement. Halt will be delegated to > DefaultExecutionEnvironment or TestExecutionEnvironment depending on > current value.
And you are able to do it right now with following scripts: - haltOnlyInTest > self haltIf: [ CurrentExecutionEnvironment value isKindOf: TestExecutionEnvironment] > - haltOnlyOutOfTest self haltIf: [ CurrentExecutionEnvironment value isKindOf: DefaultExecutionEnvironment]
