{"_id":"@dlordkendex/maila-discord-reporter-alpha","_rev":"3-c8faf39386b828102ad6718dc77f86ca","name":"@dlordkendex/maila-discord-reporter-alpha","dist-tags":{"latest":"1.1.111"},"versions":{"1.1.0":{"name":"@dlordkendex/maila-discord-reporter-alpha","version":"1.1.0","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-alpha":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-alpha.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","maila-discord-reporter":"^1.1.0"},"devDependencies":{"maila":"^6.6.0","maila-discord-reporter":"^1.1.0"},"_id":"@dlordkendex/maila-discord-reporter-alpha@1.1.0","gitHead":"b1cf61f9e3e459308f5b2ee749ab90af22fd08ed","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-alpha/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-alpha#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-Y0CulJgP/gGxqjF/+1zwIyuV2CRIftJUPnPKYDOcko8E4FTSZeqSFRUuS1JiZlZgyTjeAmETKoFx2fGiQz8smQ==","shasum":"b4fefa71baa86bded442f82a8d11ce9e16352b5f","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-alpha/-/maila-discord-reporter-alpha-1.1.0.tgz","fileCount":15,"unpackedSize":131103,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCR3W47bXdU8tRcBJvjp1P8fPFZGkLiAs49/4caGt5dTQIhAJPmCJEvz1Zx0yDbC/6BcrMdB3k95vZo25SBThrJS2wd"}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-alpha_1.1.0_1708808219681_0.7020429073065744"},"_hasShrinkwrap":false},"1.1.2":{"name":"@dlordkendex/maila-discord-reporter-alpha","version":"1.1.2","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-alpha":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-alpha.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","maila-tea-test":"^6.6.0","maila-discord-reporter":"^1.1.0"},"devDependencies":{"@dlordkendex/maila-tea-test":"^6.6.0","@dlordkendex/maila-discord-reporter":"^1.1.0"},"_id":"@dlordkendex/maila-discord-reporter-alpha@1.1.2","gitHead":"5f72c35a55915437a778902c917ccc9928ba2d72","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-alpha/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-alpha#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-nUBabJB5qRYXIAeI4/NBJD/A2jPQndPKddVpCWhERhY9sNSoil9X0dgnenviodxaq3wj+xK3T7yWNV+W+03RHw==","shasum":"6e80c1485e10a6b3a9e567f2a579dd39cbbdb966","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-alpha/-/maila-discord-reporter-alpha-1.1.2.tgz","fileCount":15,"unpackedSize":131170,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB8qoIoFIZOMQ/j0+N1qhXKonjV/nKGs/5ilueOD5DA5AiEApRpooqsLqjs1zBc8zDn4Hzdi6vyOEt8rKNTNUyvHJxw="}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-alpha_1.1.2_1708808783961_0.04315575206517108"},"_hasShrinkwrap":false},"1.1.11":{"name":"@dlordkendex/maila-discord-reporter-alpha","version":"1.1.11","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-alpha":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-alpha.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","@dlordkendex/maila-discord-reporter":"*"},"devDependencies":{"@dlordkendex/maila-discord-reporter":"*"},"_id":"@dlordkendex/maila-discord-reporter-alpha@1.1.11","gitHead":"9851f3af527e7810cfbd012121f6f23c5eda3fe9","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-alpha/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-alpha#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-SqFc1zG9Nm1XByCeZdJOrCB5JNycvJuVmj+U6aMwZaUjEXlaLH5moOMQGbGZRQTjW+hCMo1LPLR9eJE5M32kWQ==","shasum":"544db0040fab447d52b768823d01c1c9cef7b450","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-alpha/-/maila-discord-reporter-alpha-1.1.11.tgz","fileCount":15,"unpackedSize":131097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHNg93188shA3ps4Vy4tA9zEYH6D/PdJlUoqwRdOMOlrAiEAxj9YZobtD6PJBVQLg2oNoLfV+taOgiStsU7R8t2l7f0="}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-alpha_1.1.11_1708809285113_0.2749685840510625"},"_hasShrinkwrap":false},"1.1.111":{"name":"@dlordkendex/maila-discord-reporter-alpha","version":"1.1.111","description":"A Discord reporter for allure reports generated by maila","main":"src/index.js","bin":{"maila-discord-reporter-alpha":"src/index.js"},"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-alpha.git"},"publishConfig":{"registry":"https://npm.pkg.github.com/dlordkendex"},"scripts":{"maila-discord:report":"npx node src/index.js maila run"},"keywords":["maila","discord"],"author":{"name":"dlord"},"license":"ISC","dependencies":{"discord-webhook-node":"^1.1.8","dotenv":"^8.2.0","@dlordkendex/maila-discord-reporter":"*","maila-talijah-alpha":"*"},"_id":"@dlordkendex/maila-discord-reporter-alpha@1.1.111","gitHead":"9851f3af527e7810cfbd012121f6f23c5eda3fe9","bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-alpha/issues"},"homepage":"https://github.com/dlordkendex/maila-discord-reporter-alpha#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-pmLNoBDu7Mxyjw7HWtrhcQiTQqPKze/qNwumgMyCXkKQjWKAMeEYKue59LVNU5Tlb3HAvuASw5BhAzcktMb/CA==","shasum":"a1c2a34c7e6e12fea7bb09414cadfe890901f277","tarball":"https://registry.npmjs.org/@dlordkendex/maila-discord-reporter-alpha/-/maila-discord-reporter-alpha-1.1.111.tgz","fileCount":15,"unpackedSize":131056,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwBy5tzY2f6vdcWIkQe15hQ+0eHaZKF23ymsDN4abXCgIgVAHFmIcfVHgDtbFn6y6pQAqbMRiOKfSDnpIkhZefVJo="}]},"_npmUser":{"name":"dlordkendex","email":"dlordkendex@gmail.com"},"directories":{},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/maila-discord-reporter-alpha_1.1.111_1708918174272_0.7787843920722781"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-24T20:56:59.605Z","1.1.0":"2024-02-24T20:56:59.965Z","modified":"2024-02-26T03:29:34.859Z","1.1.2":"2024-02-24T21:06:24.229Z","1.1.11":"2024-02-24T21:14:45.295Z","1.1.111":"2024-02-26T03:29:34.442Z"},"maintainers":[{"name":"dlordkendex","email":"dlordkendex@gmail.com"}],"description":"A Discord reporter for allure reports generated by maila","homepage":"https://github.com/dlordkendex/maila-discord-reporter-alpha#readme","keywords":["maila","discord"],"repository":{"type":"git","url":"git+https://github.com/dlordkendex/maila-discord-reporter-alpha.git"},"author":{"name":"dlord"},"bugs":{"url":"https://github.com/dlordkendex/maila-discord-reporter-alpha/issues"},"license":"ISC","readme":"# Discord-reporter\r\n\r\n![npm](https://img.shields.io/npm/v/maila-discord-reporter-alpha) ![GitHub](https://img.shields.io/github/license/maritome/maila-discord-reporter-alpha)  \r\n\r\n\r\n\r\n## maila Discord Reporter\r\n\r\nA Discord reporter of your test results.  \r\nIt uses the allure report generated by maila-allure-plugin (or any other allure reporter) to send a message in a team channel of your choice with the status of the test run.\r\nEveryone gets a fast, short and well-organized feedback of the latest test execution.  \r\nThe message sent to discord include:\r\n\r\n- Test run status\r\n- How many test cases failed (if there are any)\r\n- The list of the test cases that failed (if there are any)\r\n- How many test cases are broken (if there are any)\r\n- The list of the test cases that are broken (if there are any)\r\n- A link of the allure report generated, which includes all the necessary details\r\n\r\nHow discord message looks like\r\n\r\n![All test cases passed](/assets/screenshots/report-passed.PNG)\r\n![Some test cases failed](/assets/screenshots/report-failed.PNG)\r\n![Some test cases are broken](/assets/screenshots/report-broken.PNG)\r\n\r\n## Installation\r\n\r\n```\r\nnpm install maila-discord-reporter-alpha --save-dev\r\n```\r\n## Configuration\r\n\r\nCreate an incoming webhook for the team channel where you want to get the report. Copy the WEBHOOK URL and add it to your .env file:\r\n\r\n```\r\nDISCORD_WEBHOOK_URL = 'yourWebhookUrl'\r\n```\r\n\r\nTo display in the discord message the name of the application under test and its version when the tests were executed, create a environment.properties file within your allure-results folder. In the file add:\r\n\r\n```\r\nApplication=Application Under Test\r\nVersion=vx.x.x\r\n```\r\n\r\n## Usage\r\n\r\n```\r\n$ npx maila-discord-reporter-alpha\r\n```\r\n\r\n```\r\nUsage: index [options]\r\n\r\nOptions:\r\n  -v, --version          output the version number\r\n  --verbose              show log output\r\n  --report-path [type]   define the path of allure report file (default: \"./allure-report/widgets/status-chart.json\")\r\n  --testEnv-path [type]  define the path of allure report environment properties file (default: \"./allure-report/widgets/environment.json\")\r\n  --report-url [type]    provide the link for the Test Report (default: \"\")\r\n  -h, --help             display help for command\r\n```\r\n\r\nIf the allure report is uploaded somewhere, provide the link using the option `--report-url`. A button 'Open Test Report' will be part of discord message. Onclick it, the allure test report will be opened.\r\n\r\nProject forked from [maila-msteams-reporter](https://github.com/maritome/maila-msteams-reporter) by Maria Tome\r\n","readmeFilename":"README.md"}