pytest reporting plugin for opentmi
pytest plugin to upload results to opentmi server. Plugin collect various metadata against opentmi Result -schema. User can extend details using pytest metadata plugin.
Usage
Install using pip:
pip install pytest-opentmi
Enable plugin:
conftest.py:
pytest_plugins = ("pytest_opentmi.plugin",)
Running with pytest:
pytest --opentmi <host> --opentmi_token <token> [--opentmi_store_logs]
metadata
module utilize some special pytest metadata keys. Usage:
pytest --metadata <KEY> <VALUE> ...
Keys:
-
Device Under Test:
DUT_TYPE(hw, simulator)DUT_SERIAL_NUMBERDUT_VERSIONDUT_VENDORDUT_MODELDUT_PROVIDER
-
Software Under Test:
SUT_COMPONENT(array)SUT_FEATURE(array)SUT_COMMIT_IDSUT_BRANCH
Release files for pytest-opentmi 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytest-opentmi-0.3.3.tar.gz | 15.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_opentmi-0.3.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 22.8 kB
Release files / pytest-opentmi-0.3.3.tar.gz
| Download URL | pytest-opentmi-0.3.3.tar.gz |
|---|---|
| Size | 15.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70649350c88efcbe4e07c1c6f19fd1087d4644301358d52b0ed566c418893c3d
|
|
BLAKE2b-256 checksum How to use checksums |
02319871768ffb2dad7eb184a92e5e051ab259d0d7cf4d80371ec9563ced05bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|
Release files / pytest_opentmi-0.3.3-py2.py3-none-any.whl
| Download URL | pytest_opentmi-0.3.3-py2.py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ffd15a410c5b5ef09b6bb33b41feedd05e5c335bab0810c315ea5e9397110d79
|
|
BLAKE2b-256 checksum How to use checksums |
9e3d1f4338f9dc4d6c6415f44ffa25755c680d162985c9321eaf7695de3bf5c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12
|