Skip to main content

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 20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unittester 20
File Size Uploaded Provenance Actions
unittester-20.tar.gz 3.5 kB Without provenance Details for unittester-20.tar.gz

Release files / unittester-20.tar.gz

Download URL unittester-20.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0d838f9a8ef16ad4ee4d9b44df5e906615f0fa062a0d43e779530c3857e09d94
BLAKE2b-256 checksum
How to use checksums
d56b4fd79743369741cfefe7613b36f0c96369dae7aef9c64e06b6dc59e6f4ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for unittester 20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

20 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page