Feb. 28, 2013
7:05 p.m.
Never put a constant in a method. How can I provide a different set of IVs? No way of doing it except rewriting the whole method, which is dirty. On 28 févr. 2013, at 18:52, Frank Shearar wrote:
On 28 February 2013 15:46, Noury Bouraqadi <bouraqadi@gmail.com> wrote:
TestCase>>cleanUpInstanceVariables self class allInstVarNames do: [ :name | name = 'testSelector' ifFalse: [ self instVarNamed: name put: nil ] ]
What is it that you find wrong about this? Its absence would cause a problem with Fuel, where the TestCases end up hanging onto obsolete classes.
frank
Noury Bouraqadi Ecole des Mines de Douai http://car.mines-douai.fr/noury --