Author techtonik
Recipients berker.peksag, exarkun, ezio.melotti, michael.foord, techtonik
Date 2012-12-20.18:36:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356028578.85.0.963359272946.issue6514@psf.upfronthosting.co.za>
In-reply-to
Content
> The documentation already covers that "python -m unittest test_module" 
> usage works only in 2.7+.
>
> "Changed in version 2.7: In earlier versions it was only possible to
> run individual test methods and not modules or classes."

But the command line help says otherwise:

$ python -m unittest -h
Usage: unittest.py [options] [test] [...]

Options:
  -h, --help       Show this message
  -v, --verbose    Verbose output
  -q, --quiet      Minimal output

Examples:
  unittest.py                               - run default set of tests
  unittest.py MyTestSuite                   - run suite 'MyTestSuite'
  unittest.py MyTestCase.testSomething      - run MyTestCase.testSomething
  unittest.py MyTestCase                    - run all 'test*' test methods
                                               in MyTestCase

$ python --version
Python 2.6.6
History
Date User Action Args
2012-12-20 18:36:18techtoniksetrecipients: + techtonik, exarkun, ezio.melotti, michael.foord, berker.peksag
2012-12-20 18:36:18techtoniksetmessageid: <1356028578.85.0.963359272946.issue6514@psf.upfronthosting.co.za>
2012-12-20 18:36:18techtoniklinkissue6514 messages
2012-12-20 18:36:18techtonikcreate