On Sunday 09 December 2001 13:17, Chuck Esterbrook wrote: > I'm totally against cluttering up the main source directory with > all the test files. As with examples, docs, admin, etc. they should > just go in their own folder. (Frankly, I'd prefer if Python > packages also had Code/ and ByteCode/ but oh well.)
It does have several advantages: * very strong assoctiation between modules and their tests. It's instantly clear if a module has a test module or not. It's also easier to restructure the directory layout and without needing to synchronize the layout of Tests/ * clear distinction between unit and functional tests * and most importantly it reminds coders to keep their test up to date. Every time they work on a module they will notice the _tests.py companion sitting there. They tend to be forgotten when they're all alone in the Tests/ dir. > There are also other kinds of tests that you could > recognize. What other kinds are you thinking of? _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel
