unittester
Run python unit-tests as command-line applications (class and method based)
install
pip install unittester
options:
Usage: sample.py [options]
Options:
-h, --help show this help message and exit
-c CLASSNAME, --class=CLASSNAME
UnitTest classname
-m METHOD, --method=METHOD
UnitTest methodname (optional)
-f, --failfast Fail fast
-a, --all Run all test without stop on fail
-s, --showclasses Show all classes
-r, --resetconsole Reset console (clear screen)
-p, --profile Profile the method
-q, --quiet Silence output except when there is an error
quiet
Quiet mode only outputs text in case of an error.
normal
$ python tests.py -c SampleTestCase2
0.00 | unittester.py:70 | unittester | SampleTestCase2
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
quiet
$ python sample.py -q -c SampleTestCase2
$
Metadata
Release files for unittester 11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unittester-11.tar.gz | 3.2 kB | Details |
Release files / unittester-11.tar.gz
| Download URL | unittester-11.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b197fdcddba8e0267212fb44bcc2b5b6e6c5594b0bb1c476ddff9a26ef44248c
|
|
BLAKE2b-256 checksum How to use checksums |
840c3c373a3f3e5a07e393c1e8a548b2dfdaf7aa58e2ca363003492926d66965
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |