utesting-py
GitHub: https://github.com/s0urcedev/utesting-py
PyPi: https://pypi.org/project/utesting/
Python module for unit testing
Installation:
pip install utesting
Importing:
from utesting import ResultState # not necessary
from utesting import ResultStates # not necessary
from utesting import Unit # not necessary
from utesting import TestCase # necessary (for creating test cases)
from utesting import TestGroup # not necessary
from utesting import TestCaseResult # not necessary
from utesting import Test # necessary (for additing and running testing)
Using:
test(group, output) — test test group
test_async(group, output) — async version of test
@mark_test_unit(cases, asynchronous, only_errors, only_time, no_print) — decorator for marking test unit
add_test_unit(callback, cases, asynchronous, only_errors, only_time, no_print) — same as mark_test_unit, but can't be used as decorator
test_all(file_name) — running testing all marked(added) units
test_all_asyc(file_name) — async version of test_all
And other documentation in utesting/__init__.py and examples in examples.py
Release files for utesting 2.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| utesting-2.3.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| utesting-2.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / utesting-2.3.0.tar.gz
| Download URL | utesting-2.3.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f8e3fee723b19d88a12e80831a7a15e82c7947c1f80e600a208b72c9fd7a636d
|
|
BLAKE2b-256 checksum How to use checksums |
04dc2a8e1f9fadc919f3b762c3ea64cd8aec0f2f8aad0b89a5f12aa210269cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4
|
Release files / utesting-2.3.0-py3-none-any.whl
| Download URL | utesting-2.3.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
89a491353d695109355e9432442b5492045385ec5dc2bb72ae7db1fd2afec9aa
|
|
BLAKE2b-256 checksum How to use checksums |
4841c5ec606d2ee230738b4c69f3d55cb122d9d45c8bb9ea1587bf223370cb3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.4
|