diff -r c241831a91f2 Doc/library/unittest.rst --- a/Doc/library/unittest.rst Wed May 01 00:15:44 2013 +0200 +++ b/Doc/library/unittest.rst Wed May 01 10:57:01 2013 -0400 @@ -1809,6 +1809,10 @@ if __name__ == '__main__': unittest.main(verbosity=2) + The *defaultTest* argument takes a single test name. 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.