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
plugin is enabled by using --opentmi CLI argument.
Running with pytest:
pytest --opentmi <host> --opentmi_token <token> [--opentmi_store_logs]
Configuration
- env variable
OPENTMI_MAX_EXEC_NOTE_LENGTHcan be used to cut long failure notes. Default 1000 characters.
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.5.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.5.3.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytest_opentmi-0.5.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 26.3 kB
Release files / pytest_opentmi-0.5.3.tar.gz
| Download URL | pytest_opentmi-0.5.3.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc24d32748dbe4617e39e7e8a80bfd466f2e118b26cfee51f77afa287c146754
|
|
BLAKE2b-256 checksum How to use checksums |
2a7e94627c8b1d60fc6e09cc3522fc2038ce03a469f0657d883d47accc78428f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / pytest_opentmi-0.5.3-py2.py3-none-any.whl
| Download URL | pytest_opentmi-0.5.3-py2.py3-none-any.whl |
|---|---|
| Size | 8.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
af871e1b15dcf578a66be8a628b16e2c316678d544686ac76ccc1c3da2b57d95
|
|
BLAKE2b-256 checksum How to use checksums |
8da8e0cee4c2aaa1b8b3b8694d5e9b94b44d2758f7d097bbf3bb9a52f261089b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|