{"id":19509240,"url":"https://github.com/opentmi/pytest-opentmi","last_synced_at":"2026-02-23T11:03:01.507Z","repository":{"id":38824547,"uuid":"244940225","full_name":"OpenTMI/pytest-opentmi","owner":"OpenTMI","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-22T13:38:40.000Z","size":61,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T07:23:25.942Z","etag":null,"topics":["opentmi","pytest-plugin","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenTMI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-04T15:49:11.000Z","updated_at":"2025-03-22T13:37:55.000Z","dependencies_parsed_at":"2022-09-18T08:41:21.359Z","dependency_job_id":null,"html_url":"https://github.com/OpenTMI/pytest-opentmi","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTMI%2Fpytest-opentmi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTMI%2Fpytest-opentmi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTMI%2Fpytest-opentmi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenTMI%2Fpytest-opentmi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenTMI","download_url":"https://codeload.github.com/OpenTMI/pytest-opentmi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250926822,"owners_count":21509044,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["opentmi","pytest-plugin","python"],"created_at":"2024-11-10T23:11:28.139Z","updated_at":"2026-02-23T11:03:01.444Z","avatar_url":"https://github.com/OpenTMI.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pytest reporting plugin for opentmi\n\n[![Unit tests](https://github.com/OpenTMI/pytest-opentmi/actions/workflows/build-test.yml/badge.svg)](https://github.com/OpenTMI/pytest-opentmi/actions/workflows/build-test.yml)\n[![PyPI version](https://badge.fury.io/py/pytest-opentmi.svg)](https://badge.fury.io/py/pytest-opentmi)\n\u003c!-- [![Coverage Status](https://coveralls.io/repos/github/OpenTMI/pytest-opentmi/badge.svg)](https://coveralls.io/github/OpenTMI/pytest-opentmi) --\u003e\n\n\npytest plugin to upload results to opentmi server.\nPlugin collect various metadata against opentmi Result -schema.\nUser can extend details using pytest metadata plugin.\n\n## Usage\n\nInstall using pip:\n\n`pip install pytest-opentmi`\n\nplugin is enabled by using `--opentmi` CLI argument.\n\nRunning with pytest:\n\n`pytest --opentmi \u003chost\u003e --opentmi_token \u003ctoken\u003e [--opentmi_store_logs]`\n\n\n### Configuration\n\n* env variable `OPENTMI_MAX_EXEC_NOTE_LENGTH` can be used to cut long failure notes. Default 1000 characters.\n\n### metadata\n\nmodule utilize some special pytest metadata keys.\nUsage:\n\n`pytest --metadata \u003cKEY\u003e \u003cVALUE\u003e ...`\n\n**Keys:**\n\n* Device Under Test:\n  * `DUT_TYPE`  (hw, simulator)\n  * `DUT_SERIAL_NUMBER`\n  * `DUT_VERSION`\n  * `DUT_VENDOR`\n  * `DUT_MODEL`\n  * `DUT_PROVIDER`\n\n* Software Under Test:\n  * `SUT_COMPONENT` (array)\n  * `SUT_FEATURE` (array)\n  * `SUT_COMMIT_ID`\n  * `SUT_BRANCH`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentmi%2Fpytest-opentmi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopentmi%2Fpytest-opentmi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopentmi%2Fpytest-opentmi/lists"}