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.

Files for pytest-opentmi, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size pytest_opentmi-0.3.1-py2.py3-none-any.whl (6.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pytest-opentmi-0.3.1.tar.gz (16.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page