[ENH][TEST] ClassBuilder format tests
Colin Putney
cputney at wiresong.ca
Sun Jan 4 21:39:01 UTC 2004
On Jan 4, 2004, at 12:37 PM, ducasse wrote:
>
> On 4 janv. 04, at 21:23, Andreas Raab wrote:
>
>> Hi Stef,
>>
>>> I was looking at your tests. I want them in the image :)
>>> I was wondering why you do not use tearDown to clean your stuff.
>>
>> I needed to clean up inbetween each individual test and tearDown is
>> only
>> called when all the tests are run (e.g., after the entire suite
>> completed).
>
> No tearDown is run after each tests. I was forced to extend SUnit to
> provide the behavior
> you describe because our test suite was taking too much time, so I'm
> really sure about this
> behavior. In fact setU and tearDown are always run before and after
> each tests because they control
> the contex.
Stéphane,
Why did you extend SUnit? Was there some reason you couldn't use a
TestResource to speed up your fixture set up and teardown?
Coln
More information about the Squeak-dev
mailing list
|