TestRunner in 3.8 -- ARGH!!!
Marcus Denker
denker at iam.unibe.ch
Wed Nov 3 16:05:37 UTC 2004
Am 03.11.2004 um 16:33 schrieb Bert Freudenberg:
>
> Am 03.11.2004 um 03:33 schrieb Colin Putney:
>> the abstract classes will cause tests to get run twice - or more
>> than twice if you have several levels of abstract classes in your
>> test hierarchy. This makes moderately-long-running test suites take
>> much longer.
>
> Wouldn't it be trivial to avoid these duplicate tests? Like if you
> only collect test methods from the class that actually implements
> them? Am I missing something obvious?
>
But there are testsuites that use Abstract Tests in the sense of
abstract classes: e.g. the ClassTestCase implements a bunch of tests
that should be run on all tests that are subclasses of ClassTestCase.
I really don't like the idea of grouping by inheritance... and having
something named Abstract that you can run is strange, somehow.
Marcus
More information about the Squeak-dev
mailing list
|