Skip to main content

pytest plugin for publish results to opentmi

Project description

pytest reporting plugin for opentmi

Unit tests PyPI version

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_LENGTH can 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_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


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.5.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

pytest_opentmi-0.5.1-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-opentmi-0.5.1.tar.gz.

File metadata

  • Download URL: pytest-opentmi-0.5.1.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for pytest-opentmi-0.5.1.tar.gz
Algorithm Hash digest
SHA256 61198fbd8341e1653b937da30fa5fb4c19fb8847e7621ffc9576043893a4faf9
MD5 fdd5a7e9620dd8699aea28712bc396a6
BLAKE2b-256 efbc28b2c85a368b9800ba5fe16eb67c61e6ae77463783be9cc19555b59850d7

See more details on using hashes here.

File details

Details for the file pytest_opentmi-0.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_opentmi-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57053a606e3588745266e4f09b0de90a565285ba137722e1f164647e1cf4ff8b
MD5 7753ebd6e4d732a9d5320b468b8c23b5
BLAKE2b-256 e3fb357cfa979de3d47888623cda4d3e3669100f7777b9eaf690ea2ac284947c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page