Skip to main content

pytest plugin for publish results to opentmi

Project description

pytest reporting plugin for opentmi

CircleCI 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

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


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

Uploaded Source

Built Distribution

pytest_opentmi-0.3.3-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pytest-opentmi-0.3.3.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pytest-opentmi-0.3.3.tar.gz
Algorithm Hash digest
SHA256 70649350c88efcbe4e07c1c6f19fd1087d4644301358d52b0ed566c418893c3d
MD5 49bb00790044605afd16d238a1663723
BLAKE2b-256 02319871768ffb2dad7eb184a92e5e051ab259d0d7cf4d80371ec9563ced05bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_opentmi-0.3.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for pytest_opentmi-0.3.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ffd15a410c5b5ef09b6bb33b41feedd05e5c335bab0810c315ea5e9397110d79
MD5 d296db58913d58c84d07509996e731a1
BLAKE2b-256 9e3d1f4338f9dc4d6c6415f44ffa25755c680d162985c9321eaf7695de3bf5c1

See more details on using hashes here.

Supported by

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