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

Guilherme Polo ggpolo at gmail.com
Sat Jun 7 02:40:15 CEST 2008


2008/6/6 Ron Adam <rrr at ronadam.com>:
>
>
> Martin v. Löwis wrote:
>>>
>>> How does 1 directory scale when one day you have possibly thousands of
>>> tests?
>>
>> I find this a theoretical question. It took 18 years to arrive at 500
>> test files. Assuming a linear growth, we get 1000 tests in 2025, and
>> 2000 tests in 2060. People can worry about reorganizing them then.
>
>
> Personally I'd like to see packages have their own test directory.  This
> keeps things related to each other together.  Top level modules of course
> would have their tests in the top level test directory as they are now.
>

I really dislike having a test directory inside a python package. You
have my -1 on that idea.

> I don't see any need to subdivide tests further than that.
>
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/ggpolo%40gmail.com
>



-- 
-- Guilherme H. Polo Goncalves


More information about the Python-Dev mailing list