[New-bugs-announce] [issue11390] doctest: add cmdline parameters

anatoly techtonik report at bugs.python.org
Thu Mar 3 21:33:46 CET 2011


New submission from anatoly techtonik <techtonik at gmail.com>:

doctest module need to parse -h/--help parameters, and accept flags like ELLIPSIS from command line. Otherwise it very hard to debug tests like contained in the attached README.

It is also worth to make it parameter compatible with unittest.main()

Usage: tests.py [options] [test] [...]

Options:
  -h, --help       Show this message
  -v, --verbose    Verbose output
  -q, --quiet      Minimal output
  -f, --failfast   Stop on first failure
  -c, --catch      Catch control-C and display results
  -b, --buffer     Buffer stdout and stderr during test runs

----------
files: README.txt
messages: 130002
nosy: techtonik
priority: normal
severity: normal
status: open
title: doctest: add cmdline parameters
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file20989/README.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11390>
_______________________________________


More information about the New-bugs-announce mailing list