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

Uploaded Source

Built Distribution

pytest_opentmi-0.5.2-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pytest-opentmi-0.5.2.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for pytest-opentmi-0.5.2.tar.gz
Algorithm Hash digest
SHA256 6320a4edbf71cb1e7467c860bfbf638cec070adb74a0bc88a496c60602956af3
MD5 7d5bc6e2f5119b93280682019f60623c
BLAKE2b-256 3c64c494c9fad7d25da5279ff9fbfeeb8a96869176cfdde9355c1d3c3295742e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_opentmi-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e7dc2b8a2ff7a056db59d17dfc6c5746e1fb64c6ce9dfe8e0f1dbd00367bd26c
MD5 a5b34f1d664089df60d6f795ab36e1dd
BLAKE2b-256 5e4c4f256046abdf182164ccc4dc678e8e5bf7e3d23f34f4380d04f2a088c7e2

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