pytest plugin for publish results to opentmi
Project description
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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest_opentmi-0.5.3.tar.gz.
File metadata
- Download URL: pytest_opentmi-0.5.3.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc24d32748dbe4617e39e7e8a80bfd466f2e118b26cfee51f77afa287c146754
|
|
| MD5 |
3095d04cfdc954110054858cf5974bb8
|
|
| BLAKE2b-256 |
2a7e94627c8b1d60fc6e09cc3522fc2038ce03a469f0657d883d47accc78428f
|
File details
Details for the file pytest_opentmi-0.5.3-py2.py3-none-any.whl.
File metadata
- Download URL: pytest_opentmi-0.5.3-py2.py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af871e1b15dcf578a66be8a628b16e2c316678d544686ac76ccc1c3da2b57d95
|
|
| MD5 |
6f82d495a32ca2b485310dd98a55c027
|
|
| BLAKE2b-256 |
8da8e0cee4c2aaa1b8b3b8694d5e9b94b44d2758f7d097bbf3bb9a52f261089b
|