diff -r 4e186581fea7 Doc/library/unittest.rst --- a/Doc/library/unittest.rst Wed May 01 00:17:45 2013 +0200 +++ b/Doc/library/unittest.rst Wed May 01 10:36:44 2013 -0400 @@ -1905,6 +1905,11 @@ if __name__ == '__main__': unittest.main(verbosity=2) + The *defaultTest* argument can either be a single test name or iterable of test + names. If not specified or ``None``, all tests found in *module* or tests passed + via *argv* are run. Tests passed into *argv* take precendence over those passed + via *defaultTest*. + The *argv* argument can be a list of options passed to the program, with the first element being the program name. If not specified or ``None``, the values of :data:`sys.argv` are used.