{ "info": { "author": "Georgy Dyuldin", "author_email": "gdyuldin@mirantis.com", "bugtrack_url": null, "classifiers": [], "description": "TestRail xUnit Reporter\n=======================\n\n.. image:: https://travis-ci.org/gdyuldin/testrail_reporter.svg?branch=master\n :target: https://travis-ci.org/gdyuldin/testrail_reporter\n\n.. image:: https://codecov.io/gh/gdyuldin/testrail_reporter/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/gdyuldin/testrail_reporter\n\n\nThis reporter helps to send xUnit XML report from automated tests to\nTestRail.\n\nMatching rules\n--------------\n\nFor correct reporting, reporter makes **indentifications strings** for\nall xUnit and TestRail cases. Identification strings are makes by\ntemplates - one for xUnit and one for TestRail Case. Templates are just\n`Format\nStrings `__.\nNext reporter searchs xUnit testcase indentification string in all\nTestRail cases indentifications strings.\n\nxUnit template variables\n''''''''''''''''''''''''\n\n- classname (like ``tempest.api.network.test_routers.RoutersIpV6Test``)\n- methodname (from report, like\n ``test_update_router_admin_state[id-a8902683-c788-4246-95c7-ad9c6d63a4d9]``)\n- id (extracts from ``methodname``, e.g. for ``test_a[(12345)]`` it\n will be ``12345``)\n- uuid (extracts from ``methodname``, e.g. for\n ``test_quotas[network,id-2390f766-836d-40ef-9aeb-e810d78207fb,network]``\n it will be ``2390f766-836d-40ef-9aeb-e810d78207fb``)\n\nArgument name: ``--xunit-name-template``\n\nDefault value: ``{id}``\n\nxUnit template may looks like ``'{classname}.{methodname}'`` or just\n``'{id}'``.\n\nTestRail template variables\n'''''''''''''''''''''''''''\n\n- custom\\_report\\_label (Report Label in UI)\n- custom\\_test\\_group (Test Group in UI)\n- title\n\nArgument name: ``--testrail-name-template``\n\nDefault value: ``{custom_report_label}``\n\nAlso possible to use other variables (full list here - `TestRail Api\nDocumentation `__)\n\nTestRail template may looks like ``'{custom_report_label}'`` or\n``'{custom_test_group}.{title}'``.\n\nCollisions\n~~~~~~~~~~\n\nIf one xUnit case matches to more than one TestRail case or one TestRail\ncase matches to more than one xUnit case - reporter stops work, print\nout this cases and exits with error.\n\nUsage\n-----\n\n::\n\n usage: report [-h] [--xunit-name-template XUNIT_NAME_TEMPLATE]\n [--testrail-name-template TESTRAIL_NAME_TEMPLATE]\n [--env-description ENV_DESCRIPTION]\n (--iso-id ISO_ID | --testrail-plan-name TESTRAIL_PLAN_NAME)\n [--test-results-link TEST_RESULTS_LINK]\n [--testrail-url TESTRAIL_URL] [--testrail-user TESTRAIL_USER]\n [--testrail-password TESTRAIL_PASSWORD]\n [--testrail-project TESTRAIL_PROJECT]\n [--testrail-milestone TESTRAIL_MILESTONE]\n [--testrail-suite TESTRAIL_SUITE] [--send-skipped]\n [--paste-url PASTE_URL] [--verbose]\n xunit_report\n\n Report to testrail\n\n positional arguments:\n xunit_report xUnit report XML file\n\n optional arguments:\n -h, --help show this help message and exit\n --xunit-name-template XUNIT_NAME_TEMPLATE\n template for xUnit cases to make id string\n --testrail-name-template TESTRAIL_NAME_TEMPLATE\n template for TestRail cases to make id string\n --env-description ENV_DESCRIPTION\n env deploy type description (for TestRun name)\n --iso-id ISO_ID id of build Fuel iso (DEPRECATED)\n --testrail-plan-name TESTRAIL_PLAN_NAME\n name of test plan to be displayed in testrail\n --test-results-link TEST_RESULTS_LINK\n link to test job results\n --testrail-url TESTRAIL_URL\n base url of testrail\n --testrail-user TESTRAIL_USER\n testrail user\n --testrail-password TESTRAIL_PASSWORD\n testrail password\n --testrail-project TESTRAIL_PROJECT\n testrail project name\n --testrail-milestone TESTRAIL_MILESTONE\n testrail project milestone\n --testrail-suite TESTRAIL_SUITE\n testrail project suite name\n --send-skipped send skipped cases to testrail\n --paste-url PASTE_URL\n paste service to send test case logs and trace\n --verbose, -v Verbose mode", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gdyuldin/testrail_reporter", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "xunit2testrail", "package_url": "https://pypi.org/project/xunit2testrail/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/xunit2testrail/", "project_urls": { "Homepage": "https://github.com/gdyuldin/testrail_reporter" }, "release_url": "https://pypi.org/project/xunit2testrail/0.7.3/", "requires_dist": null, "requires_python": "", "summary": "Report test results from xUnit xml file to TestRail", "version": "0.7.3" }, "last_serial": 2808426, "releases": { "0.6.0": [], "0.6.1": [ { "comment_text": "", "digests": { "md5": "3e855f91dce9cde44d6e763a10e8fc8a", "sha256": "bfb1f8f0bd92cd6a7d9e1547e19d828d325a6ea3c2d2d29dbe407fe53083b292" }, "downloads": -1, "filename": "xunit2testrail-0.6.1.tar.gz", "has_sig": false, "md5_digest": "3e855f91dce9cde44d6e763a10e8fc8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14385, "upload_time": "2016-10-20T08:00:10", "url": "https://files.pythonhosted.org/packages/5b/5c/559cc7c7bb2924c954fe9964f2d315a47952f0604154f8066d3492f68b74/xunit2testrail-0.6.1.tar.gz" } ], "0.7.0": [], "0.7.1": [ { "comment_text": "", "digests": { "md5": "cfcdb48d93026354fad530ddda3c501e", "sha256": "7e3a9ab22d109df447e9299ee39660e39badd8891b2496219eba5aac66518e72" }, "downloads": -1, "filename": "xunit2testrail-0.7.1.tar.gz", "has_sig": false, "md5_digest": "cfcdb48d93026354fad530ddda3c501e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14392, "upload_time": "2017-02-07T12:12:52", "url": "https://files.pythonhosted.org/packages/22/2e/09db7701af058a6f42fbaa255dbe9852ca25aa0f55aebd1b18f1478ced82/xunit2testrail-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "98c19e368b91769c45488f84901f3643", "sha256": "df23045ffbf1d89824cd6af8a62ae3ff5d35f03d43eee9d2e9374850d97ab3a9" }, "downloads": -1, "filename": "xunit2testrail-0.7.2.tar.gz", "has_sig": false, "md5_digest": "98c19e368b91769c45488f84901f3643", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15541, "upload_time": "2017-03-17T13:11:28", "url": "https://files.pythonhosted.org/packages/a2/30/4986ce85522df5ec31e023997e85cbdc7ddb2775f6b6b1a8037fe4cb2b75/xunit2testrail-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "5047935523652827631f937b1cc8848a", "sha256": "b97c8807c2fee21d9b7ed15609a1b94f165613531a41dbd3dc41d3cc85de50ad" }, "downloads": -1, "filename": "xunit2testrail-0.7.3.tar.gz", "has_sig": false, "md5_digest": "5047935523652827631f937b1cc8848a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16323, "upload_time": "2017-04-17T11:31:33", "url": "https://files.pythonhosted.org/packages/3f/b4/7c2005791cb758d8a196ca8f5a3b70ddd9fbaedbfb995a206e5090bc1064/xunit2testrail-0.7.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5047935523652827631f937b1cc8848a", "sha256": "b97c8807c2fee21d9b7ed15609a1b94f165613531a41dbd3dc41d3cc85de50ad" }, "downloads": -1, "filename": "xunit2testrail-0.7.3.tar.gz", "has_sig": false, "md5_digest": "5047935523652827631f937b1cc8848a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16323, "upload_time": "2017-04-17T11:31:33", "url": "https://files.pythonhosted.org/packages/3f/b4/7c2005791cb758d8a196ca8f5a3b70ddd9fbaedbfb995a206e5090bc1064/xunit2testrail-0.7.3.tar.gz" } ] }