A modest suggestion for unittest.py

Rich Harkins rharkins at thinkronize.com
Fri Aug 17 12:54:29 EDT 2001


Would it be okay with everyone if there was some option added to the
TestProgram (invoked by default when using unittest.main()) so that it does
not perform a sys.exit() when it is done running tests?  This would make it
easier to run some tests and then drop through to the interpreter with -i.
Better yet, it would be nice if the interpreter mode had direct access to
the test cases (where the tests are exposed to globals()) for easier
probing.

Rich





More information about the Python-list mailing list