{"_id":"@madlan145/wdio-5-testrail-reporter","_rev":"109-c46c239ea89c53b99606ee750f587c0c","name":"@madlan145/wdio-5-testrail-reporter","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.3":{"name":"@madlan145/wdio-5-testrail-reporter","version":"0.0.3","keywords":["webdriver","wdio","wdio-reporter","testrail"],"author":{"name":"Anton Dyachuk","email":"anton.dyachuk@valtech.com"},"license":"MIT","_id":"@madlan145/wdio-5-testrail-reporter@0.0.3","maintainers":[{"name":"blargi","email":"hanan@madlan.co.il"},{"name":"v.avdieiev","email":"vadyma@localize.city"},{"name":"ifatbuch","email":"ifat@madlan.co.il"},{"name":"shirlyp","email":"shirlyp@madlan.co.il"},{"name":"steveruizok","email":"steveruizok@gmail.com"},{"name":"dimadetrix","email":"dimao@madlan.co.il"},{"name":"0xf013","email":"0xf013@gmail.com"},{"name":"liorinbar","email":"liori@madlan.co.il"},{"name":"asafgetz","email":"asafg@madlan.co.il"},{"name":"teddyco","email":"teddyc@madlan.co.il"},{"name":"rotema","email":"rotema@madlan.co.il"},{"name":"yossic","email":"yossic@madlan.co.il"},{"name":"smadyby","email":"smadar@madlan.co.il"},{"name":"yogevp","email":"yogevp@madlan.co.il"},{"name":"wamir79","email":"amir@madlan.co.il"},{"name":"mikak","email":"mika.kuliev@icloud.com"},{"name":"mushon","email":"mushon@shual.com"},{"name":"yakovvilenchik","email":"yakovv@madlan.co.il"},{"name":"dimavmdln","email":"dimav@madlan.co.il"},{"name":"telnair","email":"telnairworld@gmail.com"},{"name":"bennyk","email":"bennyk@madlan.co.il"},{"name":"olesiamadlan","email":"olesiak@madlan.co.il"},{"name":"wombat86","email":"iurii@digitize.ee"},{"name":"alonv","email":"alonv@madlan.co.il"},{"name":"madlan_deployer","email":"deployer@madlan.co.il"},{"name":"ilanf","email":"ilanf@madlan.co.il"},{"name":"barak-madlan","email":"barakl@madlan.co.il"},{"name":"biancazzurri","email":"ramansme@gmail.com"},{"name":"daslu","email":"daniel@madlan.co.il"},{"name":"rohiu","email":"rohiu@madlan.co.il"},{"name":"alonb","email":"alonb@madlan.co.il"},{"name":"golanw","email":"golanw@madlan.co.il"}],"homepage":"https://github.com/ValtechLLC/test-wdio-5-testrail-reporter","bugs":{"url":"https://github.com/ValtechLLC/test-wdio-5-testrail-reporter/issues"},"dist":{"shasum":"212089805eeebb55d47c51702e1fb9048b0e5974","tarball":"https://registry.npmjs.org/@madlan145/wdio-5-testrail-reporter/-/wdio-5-testrail-reporter-0.0.3.tgz","fileCount":6,"integrity":"sha512-D6NlyV66JpoKWxvbfV7UFrk8587VCloX3Pi9nIS20V/PmGP6eVBOkUjKugqWVwHyPTU+6IYPSDFbeOAtA2Uoqg==","signatures":[{"sig":"MEYCIQCf3nA3b9AAVxbVU0bh9Ugivn3oq5tI0bWMasvhdFXnegIhAIRut8MLC59+qLy1c4jRa4VSnbj8ynO58r0xlDU/RPX6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18705,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctEFOCRA9TVsSAnZWagAABwkP/AtEk1T3VZAP0NHk+wr/\nbAqhu1WqZsSmExLlXai3gi4NUeVaLW8vlD4gWQuwYbgLFyJZAO1k+F1JHUPA\nNse+SVMGjRG8hID1rJu/0zuU7g4AMXHGc0Y1z0j7u477yyHNaq9abel953fh\ndCckDr08OxhFNM44/cAS/Or3vcwvUeZQW8VHMo74aYpcSNlNUBi700cJeT0V\nXwJDssOpqDb4xiB/gRDgEq7tMQXJmqrXa2t5Fk941s07WnWfXywp25IdbMLj\nnYXlSzLRCS1k7noz02CZvZAEM9YW9pSbFVG283beAHUKEb0WvwnGg2HexWDS\n4IKtTgkIw9uUthsb/7xJykNYvTwHbM38UZPgyzE1r9aeCl9aQVHonIs3CllP\nMW80HM6XayabOFbUmWO+o4xTH+ltkek5Klt4TI8YmUx42yDsr0DS+5eei6iU\nnXqyXjFk77b+NOsz8NU+EhdOZr6q1melLOQLZ51OlgXKEJfgblvK1m9bQtQf\nZeNXLheEFWwvhsDWHPJ5Y1sV0CXz5OPAmcj9NaD0fu9faqRdPoUvnTkjLLM5\n1BF0XJShj0AndmhfAjhWetzsrBOznRSvtUm2qAtU2IE81fYr0NzobaVoDvox\natuijUgpsTf1MxtvQ9dnyEReexW4Xlz+8Dg2WDBr3ABXivPgLSKZ2wmwkkPZ\nv1Kz\r\n=9DlO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./build/index","_from":"wdio-5-testrail-reporter@^0.0.3","_spec":"wdio-5-testrail-reporter@^0.0.3","_where":"d:\\_CK\\autotesting\\ck-app\\test-framework","gitHead":"9c973402556148b2427e0af680f4e206aaee0da7","scripts":{"generate-cases":"node scripts/generate-cases.js"},"_npmUser":{"name":"ilanf","email":"ilanf@madlan.co.il"},"_inBundle":false,"_location":"/@wdio/testrail-reporter","_resolved":"https://registry.npmjs.org/wdio-5-testrail-reporter/-/testrail-reporter-0.0.3.tgz","_requested":{"raw":"wdio-5-testrail-reporter@^0.0.3","name":"wdio-5-testrail-reporter","type":"range","scope":"@wdio","rawSpec":"^0.0.3","registry":true,"saveSpec":null,"fetchSpec":"^0.0.3","escapedName":"wdio-5-testrail-reporter"},"deprecated":false,"repository":{"url":"git://github.com/ValtechLLC/test-wdio-5-testrail-reporter.git","type":"git"},"_npmVersion":"6.4.1","_requiredBy":["#DEV:/","#USER"],"description":"A WebdriverIO plugin to report testrail service","directories":{},"_nodeVersion":"10.13.0","dependencies":{"sync-request":"^4.1.0","@wdio/reporter":"^5.4.15","mocha-testrail-reporter":"^1.0.12"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_phantomChildren":{},"peerDependencies":{"@wdio/cli":"^5.0.0"},"bundleDependencies":false,"_npmOperationalInternal":{"tmp":"tmp/wdio-5-testrail-reporter_0.0.3_1555317069335_0.14213044506131634","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-04-15T08:31:09.133Z","modified":"2026-09-03T08:15:03.709Z","0.0.3":"2019-04-15T08:31:09.481Z"},"bugs":{"url":"https://github.com/ValtechLLC/test-wdio-5-testrail-reporter/issues"},"author":{"name":"Anton Dyachuk","email":"anton.dyachuk@valtech.com"},"license":"MIT","homepage":"https://github.com/ValtechLLC/test-wdio-5-testrail-reporter","keywords":["webdriver","wdio","wdio-reporter","testrail"],"repository":{"url":"git://github.com/ValtechLLC/test-wdio-5-testrail-reporter.git","type":"git"},"description":"A WebdriverIO plugin to report testrail service","maintainers":[{"email":"deployer@madlan.co.il","name":"madlan_deployer"},{"email":"sergiip@localize.city","name":"sergiip"},{"email":"yossic@madlan.co.il","name":"yossic"},{"email":"devops@madlan.co.il","name":"devops_team"},{"email":"dennis.scherbin@localize.city","name":"dennis.scherbin"},{"email":"barak.levi@madlan.co.il","name":"baraklevilocalize"},{"email":"shaig@madlan.co.il","name":"shaimadlan"},{"email":"yaroslavd@madlan.co.il","name":"yaroslavd1"},{"email":"irinan@localize.city","name":"irina423"},{"email":"vladyslavs@madlan.co.il","name":"vladyslavs"},{"email":"asafr@madlan.co.il","name":"asaf.rozanes"},{"email":"oksanas@madlan.co.il","name":"oksanasmadlan"},{"email":"bohdanz@madlan.co.il","name":"bohdanzahursky"},{"email":"uri.g@madlan.co.il","name":"urig-madlan"}],"readme":"#Testrail Reporter adaptation for Webdriver.io 5\n\nPushes test results into Testrail system.\nFork from [mocha testrail reporter](https://www.npmjs.com/package/mocha-testrail-reporter)\n\n## Installation\n\n```shell\n$ npm install wdio-5-testrail-reporter --save-dev\n```\n\n## Usage\nEnsure that your testrail installation API is enabled and generate your API keys. See http://docs.gurock.com/\n\nAdd reporter to wdio.conf.js:\n\n```Javascript\nlet WdioTestRailReporter = require('wdio-5-testrail-reporter');\n\n...\n\n    reporters: [[WdioTestRailReporter, {\n      domain: \"yourdomain.testrail.net\",\n      username: \"username\",\n      password: \"password\",\n      projectId: 1,\n      suiteId: 1,\n      runName: \"My test run\"\n    }]]\n```\nMark your mocha suite names with ID of Testrail test suites. Ensure that your suite ids are well distinct from descriptions.\n \n```Javascript\ndescribe(\"S23 S24 Authenticate with invalid user\", . . .\ndescribe(\"Authenticate a valid user S21\", . . .\n```\n\nMark your mocha test names with ID of Testrail test cases. Ensure that your case ids are well distinct from test descriptions.\n \n```Javascript\nit(\"C123 C124 Authenticate with invalid user\", . . .\nit(\"Authenticate a valid user C321\", . . .\n```\n\nOnly passed or failed tests will be published. Skipped or pending tests will not be published resulting in a \"Pending\" status in testrail test run.\n\n## Options\n\n**domain**: *string* domain name of your Testrail instance (e.g. for a hosted instance instance.testrail.net)\n\n**username**: *string* user under which the test run will be created (e.g. jenkins or ci)\n\n**password**: *string* password or API token for user\n\n**projectId**: *number* projet number with which the tests are associated\n\n**suiteId**: *number* suite number with which the tests are associated\n\n**assignedToId**: *number* (optional) user id which will be assigned failed tests\n\n## Automatic creation of sections and cases\nYou can use next command to generate sections/cases based on your tests in test real:\n```shell\nnode scripts/generate-cases.js {path_to_your_wdio.conf} {path_o_your_mail_test_folders}\n```\nExample:\nYou have tests structure:\n```\n- node_modules\n- test-project\n-- wdio.conf.js\n-- tests\n--- test-group-1\n---- test-1.js\n--- test-group-2\n---- test-sub-group-1\n----- test-2.js\n----- test-3.js\n---- test-sub-groop-2\n----- test-4.js\n```\nCommand:\n```shell\nnode node_modules/wdio-5-testrail-reporter/scripts/generate-cases.js test-project/wdio.conf.js test-project/tests\n```\nwill create in test rail:\n- section 'test-group-1'\n- cases that are described in test-1.js inside section 'test-group-1'\n- section 'test-group-2'\n- subsection 'test-sub-group-1' inside section 'test-group-2'\n- cases that are described in test-2.js inside subsection 'test-sub-group-1\n- cases that are described in test-3.js inside subsection 'test-sub-group-1\n- subsection 'test-sub-group-2' inside section 'test-group-2'\n- cases that are described in test-4.js inside subsection 'test-sub-group-2\n\nalso test files (test-1.js - test-4.js) will be updated: id of case will be added to it() function\n\n## References\n- https://www.npmjs.com/package/mocha-testrail-reporter\n- http://webdriver.io/guide/reporters/customreporter.html\n- http://docs.gurock.com/testrail-api2/start","readmeFilename":"README.md"}