I'm actually interested in infrastructure around this. There is lots of documentation about how to use the various unit testing libraries out there, but what's the easiest way to
run all of your unit tests? In Perl, the Makefile generated from Makefile.PL (or Build script generated from Build.PL) has a 'test' command that will run tests that look like t/*.t (the pattern is actually more permissive than this, but I'm not sure what the specs are beyond that being the most common case). It will automatically setup the library paths to include the code, etc, so that you don't have to manually fool around with @INC (Perl's sys.path).
Is there something similar in setup.py? If so, how does it find which files have tests to run?
edit: So there really isn't a standard Python way to 'run all unit tests?' (I'm not counting v2.7 because Python unit tests have been around a lot longer than that version has). I thought that Python was all about "there's only one way to do it." I find it a little odd that it took so long for anything like that to be included in the main distribution.