{"id":25623296,"url":"https://github.com/prashanth-sams/qmetry-pytest","last_synced_at":"2026-06-18T08:31:35.314Z","repository":{"id":284199504,"uuid":"942255686","full_name":"prashanth-sams/qmetry-pytest","owner":"prashanth-sams","description":"A PyTest plugin that provides seamless integration with QMetry Test Management Platform.","archived":false,"fork":false,"pushed_at":"2026-06-08T16:56:48.000Z","size":22,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-08T18:27:34.762Z","etag":null,"topics":["jira","pytest","pytest-plugin","qmetry","qmetry-cucumber","qmetry-pytest","qmetryintegration"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/qmetry-pytest/","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/prashanth-sams.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-03T20:28:16.000Z","updated_at":"2026-03-26T09:13:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d9c4caa-e38a-4914-a2df-78264523348a","html_url":"https://github.com/prashanth-sams/qmetry-pytest","commit_stats":null,"previous_names":["prashanth-sams/qmetry-pytest"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/prashanth-sams/qmetry-pytest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashanth-sams%2Fqmetry-pytest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashanth-sams%2Fqmetry-pytest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashanth-sams%2Fqmetry-pytest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashanth-sams%2Fqmetry-pytest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prashanth-sams","download_url":"https://codeload.github.com/prashanth-sams/qmetry-pytest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prashanth-sams%2Fqmetry-pytest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34483275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["jira","pytest","pytest-plugin","qmetry","qmetry-cucumber","qmetry-pytest","qmetryintegration"],"created_at":"2025-02-22T11:36:00.608Z","updated_at":"2026-06-18T08:31:35.309Z","avatar_url":"https://github.com/prashanth-sams.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI version](https://badge.fury.io/py/qmetry-pytest.svg)](https://badge.fury.io/py/qmetry-pytest)\n[![codecov](https://codecov.io/github/prashanth-sams/qmetry-pytest/graph/badge.svg?token=WVRR4PU0VS)](https://codecov.io/github/prashanth-sams/qmetry-pytest)\n[![PyPI Downloads](https://static.pepy.tech/badge/qmetry-pytest)](https://pepy.tech/projects/qmetry-pytest)\n\n# qmetry-pytest\nA PyTest plugin that provides seamless integration with QMetry Test Management Platform.\n\n\u003cp align=\"left\"\u003e\n  \u003cimg width=\"435\" alt=\"qmetry\" src=\"https://github.com/user-attachments/assets/452a8748-7987-4443-b6d0-d43a7b72b96d\" /\u003e\n\u003c/p\u003e\n\n## Features\n\n- Automatically uploads test results to QMetry\n- Generates test cycles and updates test case statuses seamlessly\n- Supports JUnit XML reports for Automation API\n- Supports Cucumber JSON reports for Automation API\n\n## Installation\n\n```\npip install qmetry-pytest\n```\n\n## Configuration\n\nYou'll need to create a qmetry.properties file in your project root.\n\n#### Default and Mandatory Properties:\n```\nqmetry.enabled=true\nqmetry.url=\u003cyour_qmetry_url\u003e\nqmetry.authorization=\u003cyour_authorization\u003e\n```\n\n### Automation API\n\n#### Mandatory Properties:\n```\nqmetry.automation.enabled=true\nqmetry.automation.apikey=\u003cyour_api_key\u003e\nqmetry.automation.resultfile=\u003cyour_report_path/filename.xml/json\u003e\n```\n\n#### Optional Properties:\n```\nqmetry.automation.payload.format=\u003cjunit/cucumber\u003e\nqmetry.automation.payload.attachFile=true\nqmetry.automation.payload.isZip=false\nqmetry.automation.payload.environment=\u003cenv_label\u003e\nqmetry.automation.payload.build=\u003cbuild_no\u003e\nqmetry.automation.payload.fields.testCycle.labels=\u003clabel\u003e\nqmetry.automation.payload.fields.testCycle.status=Done\nqmetry.automation.payload.fields.testCycle.summary=\u003ctest_cycle_summary\u003e\nqmetry.automation.payload.fields.testCycle.customFields=\u003cEnvironment:DEV\u003e\nqmetry.automation.payload.fields.testCase.labels=\u003clabel\u003e\nqmetry.automation.payload.fields.testCase.status=Done\n```\n\n## Test Example\n\n```\nimport pytest\n\ndef test_example():\n    assert True\n\n@pytest.mark.qid(\"TC-124\")\ndef test_another_example():\n    assert 1 + 1 == 2\n```\n\n## Test Execution\n\n```\npytest --qmetry\n```\n\n### To generate XML report before upload\n\nNote: Skip this section if you are using the Cucumber framework\n\n```\npytest --qmetry --junitxml=report/results.xml\n```\n\n## Best Practices\n\n- No markers are required for the automation flow.\n- Ensure secure authentication and keep the configuration updated in `qmetry.properties`.\n- Remember to include `--qmetry` as a command-line argument during test execution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashanth-sams%2Fqmetry-pytest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprashanth-sams%2Fqmetry-pytest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprashanth-sams%2Fqmetry-pytest/lists"}