June 2, 2017
8 a.m.
2017-06-02 9:26 GMT+02:00 Denis Kudriashov <dionisiydk@gmail.com>:
2017-06-02 8:52 GMT+02:00 Stephane Ducasse <stepharo.self@gmail.com>:
- 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]