Home | Trees | Indices | Help |
|
---|
|
Run tests. This will find all modules whose name match a given prefix in the test directory, and run them. Various command line options provide additional facilities. Command line options: -v: verbose -- run tests in verbose mode with output to stdout -q: quiet -- don't print anything except if a test fails -t: testdir -- directory where the tests will be found -x: exclude -- add a test to exclude -p: profile -- profiled execution -c: capture -- capture standard out/err during tests -d: dbc -- enable design-by-contract -m: match -- only run test matching the tag pattern which follow If no non-option arguments are present, prefixes used are 'test', 'regrtest', 'smoketest' and 'unittest'. :copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr :license: General Public License version 2 - http://www.gnu.org/licenses
Functions | |||
|
|||
|
|||
|
Function Details |
Run a single test. test -- the name of the test verbose -- if true, print more messages |
use this function if you want to have the same functionality as unittest.main |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 27 17:18:41 2009 | http://epydoc.sourceforge.net |