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
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_NUMBER
DUT_VERSION
DUT_VENDOR
DUT_MODEL
DUT_PROVIDER
-
Software Under Test:
SUT_COMPONENT
(array)SUT_FEATURE
(array)SUT_COMMIT_ID
SUT_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
pytest-opentmi-0.3.0.tar.gz
(16.0 kB
view hashes)
Built Distribution
Close
Hashes for pytest_opentmi-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c265d8436fcf0dd97eafd8ee1918d5a2fd93a3d5f209a22edcf55cdc4f95c5c |
|
MD5 | d6f89124936201597f2b53b8e51deb27 |
|
BLAKE2b-256 | 7a3dbfc3aedf9f3072dbe81352b28554ad1ad34f42f1505c58aeb58b55b941bb |