J
Joe Riopel
Hi,
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?
Thanks.
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?
Thanks.