A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-June/080120.html below:

[Python-Dev] on Python's tests (and making them better)

[Python-Dev] on Python's tests (and making them better) [Python-Dev] on Python's tests (and making them better)Eric Smith eric+python-dev at trueblade.com
Sat Jun 7 00:51:10 CEST 2008
Martin v. Löwis wrote:
>>>> - 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.

I agree.  There's not much chance I'd know which directory a test for a 
given piece of functionality is in, so instead of grepping in a single 
directory, I'd have to grep in all of them.  Definitely more hassle.

Eric.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4