[TIP] Where to put unit tests? (What to name subdirectory?)

Fred Drake fdrake at gmail.com
Wed Nov 12 13:35:04 PST 2008


On Wed, Nov 12, 2008 at 4:05 PM, Daryl Spitzer <daryl.spitzer at gmail.com> wrote:
> There is no clear distinction between different types of tests (unit
> vs. integration, etc.).

You're right, there is no clear distinction.  Don't confuse readers of
your code by imposing one artificially.

The Zope community uses the name "tests" for modules/pacakges of
tests, inside the package to which the tests apply (your option 2).


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller



More information about the testing-in-python mailing list