Run python unit-tests as command-line applications (class and method based).
Project description
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
$
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unittester-24.tar.gz
(3.6 kB
view details)
File details
Details for the file unittester-24.tar.gz
.
File metadata
- Download URL: unittester-24.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 817e865ab1c76b8c46237675387612863a2a5850cf0d876d2c582e47bdfb4b1e |
|
MD5 | 51b59a919c959cd52c6460fce50fe25b |
|
BLAKE2b-256 | 697dad120410a764b014ddcd3f3530b9e66896eb6f98a98ccb2dbbac618af0a3 |