[Python-Dev] on Python's tests (and making them better)
"Martin v. Löwis"
martin at v.loewis.de
Fri Jun 6 23:32:40 CEST 2008
>>> - reorganizing the tests into separate directories
>> Why this one?
>
> I always find it hard to find a test I'm looking for in a directory
> with 365 different tests in it. Also grouping tests by function will
> hopefully help reduce duplication and it more intuitive.
Still, I don't think this should be done. Flat is better than nested,
and adding hierarchy will make it *more* difficult to find anything
(except perhaps for the one person who did the rearrangement).
I personally use grep to find the place where to add a new test.
Regards,
Martin
More information about the Python-Dev
mailing list