python -m testtools.run testspec [testspec...]

Run some tests with the testtools extended API.

For instance, to run the testtools test suite.
$ python -m testtools.run testtools.tests.test_suite
Function list_test Return the test ids that would be run if test() was run.
Class TestToolsTestRunner A thunk object to support unittest.TestProgram.
Class TestProgram A command-line program that runs a set of tests; this is primarily for making test modules conveniently executable.
Function main Undocumented
def list_test(test):

Return the test ids that would be run if test() was run.

When things fail to import they can be represented as well, though we use an ugly hack (see http://bugs.python.org/issue19746 for details) to determine that. The difference matters because if a user is filtering tests to run on the returned ids, a failed import can reduce the visible tests but it can be impossible to tell that the selected test would have been one of the imported ones.

ReturnsA tuple of test ids that would run and error strings describing things that failed to import.
def main(argv, stdout):
Undocumented
API Documentation for testtools, generated by pydoctor at 2015-07-01 16:11:28.