{"_id":"@trint/testcafe-reporter-slack","_rev":"107-ef8d4dd51929d121dcc339912f62e422","name":"@trint/testcafe-reporter-slack","dist-tags":{"latest":"0.0.9"},"versions":{"0.0.8":{"name":"@trint/testcafe-reporter-slack","version":"0.0.8","keywords":["testcafe","reporter","plugin"],"author":{"name":"Shafied","email":"shafiedn@gmail.com"},"_id":"@trint/testcafe-reporter-slack@0.0.8","maintainers":[{"name":"trint_thannan","email":"tawhid@trint.com"},{"name":"bart8","email":"bart+1@trint.com"},{"name":"andytrint","email":"ondrej@trint.com"},{"name":"barrytrint","email":"barry@trint.com"},{"name":"antunesfabio","email":"antunes.fabiomr@gmail.com"},{"name":"thepag","email":"markp@happyworm.com"},{"name":"simon.turvey","email":"simon.turvey@gmail.com"},{"name":"johnstleger","email":"jstleger0@googlemail.com"},{"name":"frunez","email":"francesco.nunez@gmail.com"},{"name":"trinthq","email":"tech@trint.com"},{"name":"balpal4495","email":"baljit4495@gmail.com"},{"name":"willalbone","email":"20walbone@gmail.com"},{"name":"jwhenshaw","email":"james.henshaw@trint.com"},{"name":"andrico1234","email":"andrico1234@yahoo.co.uk"},{"name":"victorzidaroiu","email":"victor@trint.com"}],"homepage":"https://github.com/trint-it/testcafe-reporter-slack#readme","bugs":{"url":"https://github.com/trint-it/testcafe-reporter-slack/issues"},"dist":{"shasum":"2c6f9dad8f1864c07763050a072e4927984ff746","tarball":"https://registry.npmjs.org/@trint/testcafe-reporter-slack/-/testcafe-reporter-slack-0.0.8.tgz","fileCount":5,"integrity":"sha512-Fg2XAuJCcjfts5sd8btHsydm9GJKd8op4wrqV4JPvVlORUtJTirRqq8y2qZBGxvsrLzcrZL2y6S2Te/Hrf53xw==","signatures":[{"sig":"MEQCIFD9S2H5XkqOZyUEWyrx8ZJRnFty9FCiN1pRuNgVEBPVAiA0++7F3bQbHhaGGJAkI+QXHVgg8shGKZaqfpBRoPxULw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10062,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYvljCRA9TVsSAnZWagAANzgP/2iIB06VaDpTTvh00sI7\ncu8mjq6M7UIeP+VhKmaNJa/VaY+57bQsxFndoS0KfOEauw3PdKN5DtmDivT0\npVqaiS+109L5nClExKP1qwk8BlrkpVeLumgPSPOftFkb0YD1I+ldkk1RugPs\nwtMYhA+z3wzBMLA+j+4BSXAt2geRKY0/jeKjzmA8Svdeb9+6HIP9Q1/wee4E\n8Yt3EG7g39vbXmI9Ro9MzU89cPQg4sVm4ftB0VNHi+UqhpBZkIwlXxTCNJhJ\n7w8EkC9qUwd/ZK9kckfcD3lRspT3Tyc6RUNkkOKtELDpKX9FOO1pIhmKTt/y\nzGythao1uyDPSz0nGh8HrMFY/2X0TZNyq88RQLAYLnwZ+a0JMGYLTCCx/KYe\nBfNn0mgmCFmmrenEv7CuKes51lXEFYRF8CV3Jois5WkM1XiCa7gwwuWyo12+\nA/y6JAMXzw1pKpypadsCMK8D4bj0V+ilzfq7fNfLHk/xA25cfUM2ILdkmGvf\n6cr5PDUd+DRVLcm2WJ3nSD2VLoTmvJOdSc2F8QR0pGr7qumBN+2iQXxiGpOa\njKFqdu2wi/5sooAx74CQT3dUl8cQq4KEMyCEnSC7JXFz7cveETCY+LvxJeYj\nhVx9sR55np9KPeqaIeMoDRms71TRjGq7Ozd/DquZRYHi/Z8/RjdN9zK27MGh\nTz/f\r\n=/17s\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index","gitHead":"b5c88e48ba0415779edacfe415992fa2b8146017","scripts":{"dev":"gulp watch","prod":"gulp --production","test":"gulp test","prepublish":"publish-please guard","publish-please":"publish-please"},"_npmUser":{"name":"antunesfabio","email":"antunes.fabiomr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/trint-it/testcafe-reporter-slack.git","type":"git"},"_npmVersion":"6.4.1","contributor":{"name":"Fabio Antunes","email":"fabio@trint.com"},"description":"TestCafe slack reporter plugin.","directories":{},"_nodeVersion":"8.12.0","dependencies":{"envs":"^0.1.6","dotenv":"^4.0.0","slack-node":"^0.1.8"},"_hasShrinkwrap":false,"devDependencies":{"del":"^1.2.0","gulp":"^3.9.0","testcafe":"^0.2.0-alpha","gulp-babel":"^5.2.1","gulp-mocha":"^2.2.0","publish-please":"^2.1.4","callsite-record":"^3.2.0","normalize-newline":"^1.0.2","read-file-relative":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/testcafe-reporter-slack_0.0.8_1549990242667_0.3656902469138139","host":"s3://npm-registry-packages"}},"0.0.9":{"name":"@trint/testcafe-reporter-slack","version":"0.0.9","keywords":["testcafe","reporter","plugin"],"author":{"name":"Shafied","email":"shafiedn@gmail.com"},"_id":"@trint/testcafe-reporter-slack@0.0.9","maintainers":[{"name":"andrico1234","email":"andrico1234@yahoo.co.uk"},{"name":"andytrint","email":"ondrej@trint.com"},{"name":"antunesfabio","email":"antunes.fabiomr@gmail.com"},{"name":"balpal4495","email":"baljit4495@gmail.com"},{"name":"barrytrint","email":"barry@trint.com"},{"name":"bart8","email":"bart+1@trint.com"},{"name":"frunez","email":"francesco.nunez@gmail.com"},{"name":"johnstleger","email":"jstleger0@googlemail.com"},{"name":"jwhenshaw","email":"james.henshaw@trint.com"},{"name":"nmorris95","email":"neal@trint.com"},{"name":"simon.turvey","email":"simon.turvey@gmail.com"},{"name":"thepag","email":"markp@happyworm.com"},{"name":"trint_thannan","email":"tawhid@trint.com"},{"name":"trinthq","email":"tech@trint.com"},{"name":"willalbone","email":"20walbone@gmail.com"}],"homepage":"https://github.com/trint-it/testcafe-reporter-slack#readme","bugs":{"url":"https://github.com/trint-it/testcafe-reporter-slack/issues"},"dist":{"shasum":"d2720fa55c18453f1334c5845b0cc0a6dbaf65a6","tarball":"https://registry.npmjs.org/@trint/testcafe-reporter-slack/-/testcafe-reporter-slack-0.0.9.tgz","fileCount":5,"integrity":"sha512-ngyPjUZZbWS5f6vXhqdkPtyL8b2xRkVfmAE9U1zbcuAGhDmwsabN7QUU9VnRAN5nSaX3hZ7OGhRE2WtZe1Z5Kg==","signatures":[{"sig":"MEUCIQCh4ADISNsQWdoehd31SgHzkou2xcKa6uPVJHgBv8YceAIgGwPhs+AEE7HZtrOKgF3wz0MmHr8LtkzJkbwE5ubztJw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10040,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoLBPCRA9TVsSAnZWagAAvesP/RIsnVnlWV1dIq8GPloh\nbgVyJB1pk0Z/jMwB4CxYCUPNds/ZjrB1M4J/ZbtlsqGmb8M5BjrXPnzfAMex\nBHJ6CWpxp2pteXdNfF0u6oorlb0fNiHsqWYn88X2pzqIVxfyP6aOMInyiuTa\nYlAl23eryTk4/0UOJqhmmrXt7ZuPlPpwEN7V/UMLk3IJ57l/VCqO6+IFpMcC\ng2MZd8XH+TWL5oLhqhnj8PMo3UDz8P35eaOG2OseWA/WOHNybKJinoilStM4\n8/tM5tQhIcIGNlMR8Qdw0sxPHFKZRS5dzDtUU9rS8RqfW06F6SuBd37cBWP0\n65PY5klTwalRHRloY4fc/WHxQU+UGmOxCM2XWh5OdbuqJFSyPm3zTMs4x02H\nc5oQIa5LfSiiKReuNuxhu2x8XW4FPumiDn9KlE9poXW9FYswnv+xkj1KLCsG\nAV5Z7MpxdFex547cRT2onXFYDoleHCSPTgxiqOr1BD1AmlhNUKFBVkhUYfm3\n96zOkvjI3R/Tv50jcSs1Nd0HdxM2WAKzQHIQYy0LFrVF+ulBmT43UcPPcVFE\nQINh2tdkLqvqSpcEj/HGK4+3I8aQLUDXngwZN+t5DFas0f387j6b0pzCOlUf\nK0PJ+rhTW3y2Fehe/JZVB8psuVfX9YLJz1a3+V47oK7mxlu0tDd8ZkHOsBqa\nFAzp\r\n=PYOq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index","gitHead":"79db9aabf9de594d8c355f3710aca46dc68070ea","scripts":{"dev":"gulp watch","prod":"gulp --production","test":"gulp test","prepublish":"publish-please guard","publish-please":"publish-please"},"_npmUser":{"name":"antunesfabio","email":"antunes.fabiomr@gmail.com"},"repository":{"url":"git+ssh://git@github.com/trint-it/testcafe-reporter-slack.git","type":"git"},"_npmVersion":"6.9.0","contributor":{"name":"Fabio Antunes","email":"fabio@trint.com"},"description":"TestCafe slack reporter plugin.","directories":{},"_nodeVersion":"8.11.4","dependencies":{"envs":"^0.1.6","dotenv":"^4.0.0","slack-node":"^0.1.8"},"_hasShrinkwrap":false,"devDependencies":{"del":"^1.2.0","gulp":"^3.9.0","testcafe":"^0.2.0-alpha","gulp-babel":"^5.2.1","gulp-mocha":"^2.2.0","publish-please":"^2.1.4","callsite-record":"^3.2.0","normalize-newline":"^1.0.2","read-file-relative":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/testcafe-reporter-slack_0.0.9_1570811982666_0.7286153125057595","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-02-12T16:50:42.666Z","modified":"2026-09-14T13:28:32.452Z","0.0.7":"2019-02-12T16:42:25.130Z","0.0.8":"2019-02-12T16:50:42.826Z","0.0.9":"2019-10-11T16:39:42.885Z"},"bugs":{"url":"https://github.com/trint-it/testcafe-reporter-slack/issues"},"author":{"name":"Shafied","email":"shafiedn@gmail.com"},"homepage":"https://github.com/trint-it/testcafe-reporter-slack#readme","keywords":["testcafe","reporter","plugin"],"repository":{"url":"git+ssh://git@github.com/trint-it/testcafe-reporter-slack.git","type":"git"},"description":"TestCafe slack reporter plugin.","maintainers":[{"email":"barry@trint.com","name":"barrytrint"},{"email":"ferran.garriga@trint.com","name":"zegnus"},{"email":"tech@trint.com","name":"trinthq"},{"email":"gregorio.costa@trint.com","name":"gregtrint"},{"email":"ale.delfino@trint.com","name":"adelfino"},{"email":"steve.doolan@trint.com","name":"steve-doolan-trint"},{"email":"prabhat.gurung@trint.com","name":"prabhat.gurung"},{"email":"dennis.cheng@trint.com","name":"trint.dennis.cheng"},{"email":"katie.mcdonagh@trint.com","name":"katiemc"}],"readme":"# TestCafe Reporter Slack\n\nThis package is a small modification of [the original slack reporter](https://www.npmjs.com/package/testcafe-reporter-slack).\n\nWe don't think there's much value on sending the error message to slack, as it polutes the channel and we won't be debugging the code there.\n\nWe also changed the emojis - from `:heavy_check_mark:` and `:heavy_multiplication_x:` to `:white_check_mark:` and `:red_circle:`. Reason being that it's imediately noticable which tests failed and which tests passed.\n\nMore variables: we show which environment the tests are running against, and we also show a link to the gitlab pipeline that trigger the tests to run.\n\nFinally - if the any of the tests failed, then a small GoT shame gif is displayed at the end of the message.\n\n### testcafe-reporter-slack\n\nThis is a reporter for [TestCafe](http://devexpress.github.io/testcafe). It sends the output of the test to slack.\n\n## Purpose\nOnce configured the repoter sends test results to Slack depending on a .env file from the folder the tests are run from\n\n## Setup instructions\nFollow the instructions bellow to configure this plugin.\n\t\nFirst install this package globaly to the machine you would like to run your tests on and then:\n\n## Testing\nRunning TestCafe with testcafe-reporter-slack.\n\nIn order to use this TestCafe reporter plugin it is necessary to define .env variables in your test project, hence the folder from where your call TestCafe.\n\n- cd into your test project.\n- Edit or create the .env file by adding the following ki-reporter required variables:\n\n```\nTESTCAFE_SLACK_WEBHOOK=https://hooks.slack.com/services/*****\nTESTCAFE_SLACK_CHANNEL='#testcafe'\nTESTCAFE_SLACK_USERNAME=testcafebot\n```\n\nWhen you use TestCafe API, you can pass the reporter name to the `reporter()` method:\n\n```js\nconst slack = require('@trint/testcafe-reporter-slack')\n\ntestCafe\n    .createRunner()\n    .src('path/to/test/file.js')\n    .browsers('chrome')\n    .reporter(slack) // <-\n    .run();\n```\n\n## Further Documentation\n[TestCafe Reporter Plugins](https://devexpress.github.io/testcafe/documentation/extending-testcafe/reporter-plugin/)\n","readmeFilename":"README.md"}