Distutils and unit test files
goon12 at gmail.com
Mon Jun 23 15:38:40 CEST 2008
I am using Distutils to build and distribute some packages. I do write
unit tests, but I am confused as to where to put them and how to run
them prior to the package being installed (The modules being tested
would not be in my sys.path). I would rather not put the test cases in
the same files as the modules being tested, I want keep them in a sub
directory of the module, or in a separate "test" directory.
What are some of the strategies for dealing with this?
More information about the Python-list