Message177850
> 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 |
|
Date |
User |
Action |
Args |
2012-12-20 18:36:18 | techtonik | set | recipients:
+ techtonik, exarkun, ezio.melotti, michael.foord, berker.peksag |
2012-12-20 18:36:18 | techtonik | set | messageid: <1356028578.85.0.963359272946.issue6514@psf.upfronthosting.co.za> |
2012-12-20 18:36:18 | techtonik | link | issue6514 messages |
2012-12-20 18:36:18 | techtonik | create | |
|