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

Ron Adam rrr at ronadam.com
Sat Jun 7 02:30:10 CEST 2008



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 don't see any need to subdivide tests further than that.





More information about the Python-Dev mailing list