Skip to main content

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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_opentmi-0.5.3-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pytest_opentmi-0.5.3.tar.gz.

File metadata

  • Download URL: pytest_opentmi-0.5.3.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for pytest_opentmi-0.5.3.tar.gz
Algorithm Hash digest
SHA256 bc24d32748dbe4617e39e7e8a80bfd466f2e118b26cfee51f77afa287c146754
MD5 3095d04cfdc954110054858cf5974bb8
BLAKE2b-256 2a7e94627c8b1d60fc6e09cc3522fc2038ce03a469f0657d883d47accc78428f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytest_opentmi-0.5.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 af871e1b15dcf578a66be8a628b16e2c316678d544686ac76ccc1c3da2b57d95
MD5 6f82d495a32ca2b485310dd98a55c027
BLAKE2b-256 8da8e0cee4c2aaa1b8b3b8694d5e9b94b44d2758f7d097bbf3bb9a52f261089b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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