[issue11385] TextTestRunner methods are not documented
New submission from anatoly techtonik
Terry J. Reedy
help(t.run) Help on function run in module unittest.runner:
run(self, test)
Run the given test case or test suite.
Searching on 'run(' finds near the top of the unittest chapter (2.7, 3.2):
"A test runner is an object that provides a single method, run(), which accepts a TestCase or TestSuite object as a parameter, and returns a result object."
I agree that the entry for TextTestRunner near the bottom should include one for .run, with at least the doc string, but maybe a backreference to the discussion near the top.
It is not clear to me how TextTestRunner is expected to be used. Does unittest.main instantiate one, and call run, behind the scenes?
----------
nosy: +michael.foord, terry.reedy
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3 -Python 2.6
_______________________________________
Python tracker
Terry J. Reedy
Michael Foord
Terry J. Reedy
Michael Foord
anatoly techtonik
Changes by Michael Foord
Changes by Ezio Melotti
Changes by Julian Berman
Changes by Mark Lawrence
participants (6)
-
anatoly techtonik
-
Ezio Melotti
-
Julian Berman
-
Mark Lawrence
-
Michael Foord
-
Terry J. Reedy