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

Release files for pytest-opentmi 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-opentmi 0.5.3
File Size Uploaded
pytest_opentmi-0.5.3.tar.gz 17.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pytest-opentmi 0.5.3
File Interpreter ABI Platform
pytest_opentmi-0.5.3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 26.3 kB

Release files / pytest_opentmi-0.5.3.tar.gz

Download URL pytest_opentmi-0.5.3.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bc24d32748dbe4617e39e7e8a80bfd466f2e118b26cfee51f77afa287c146754
BLAKE2b-256 checksum
How to use checksums
2a7e94627c8b1d60fc6e09cc3522fc2038ce03a469f0657d883d47accc78428f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / pytest_opentmi-0.5.3-py2.py3-none-any.whl

Download URL pytest_opentmi-0.5.3-py2.py3-none-any.whl
Size 8.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
af871e1b15dcf578a66be8a628b16e2c316678d544686ac76ccc1c3da2b57d95
BLAKE2b-256 checksum
How to use checksums
8da8e0cee4c2aaa1b8b3b8694d5e9b94b44d2758f7d097bbf3bb9a52f261089b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page