[Python-Dev] on Python's tests (and making them better) (original) (raw)
Eric Smith eric+python-dev at trueblade.com
Sat Jun 7 00:58:06 CEST 2008
- Previous message: [Python-Dev] on Python's tests (and making them better)
- Next message: [Python-Dev] on Python's tests (and making them better)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Benjamin Peterson wrote:
On Fri, Jun 6, 2008 at 5:51 PM, Eric Smith <eric+python-dev at trueblade.com> wrote:
Martin v. Löwis wrote:
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. Really? Given the choice between corelanguage (divided into syntax and builtins) and stdlib you wouldn't know where to look?
Really. I wouldn't bother thinking about it. I'd just grep.
Eric.
- Previous message: [Python-Dev] on Python's tests (and making them better)
- Next message: [Python-Dev] on Python's tests (and making them better)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]