{"id":25189692,"url":"https://github.com/siddharth23/cucumber_reporter_sync","last_synced_at":"2026-02-18T02:03:03.676Z","repository":{"id":276520188,"uuid":"929503089","full_name":"siddharth23/cucumber_reporter_sync","owner":"siddharth23","description":"A tool to merge Cucumber JSON reports, post cucumber reports to Slack channels and many more","archived":false,"fork":false,"pushed_at":"2025-03-22T07:51:15.000Z","size":282,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T06:48:43.424Z","etag":null,"topics":["automation","cucumber","cucumber-reports","library","merge","merge-and-notify-slack","node","npm","npm-package","report","slack","slack-webhook","slacknotify","test","testing"],"latest_commit_sha":null,"homepage":"https://siddharth23.github.io/cucumber_reporter_sync/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siddharth23.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":null,"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-02-08T17:41:31.000Z","updated_at":"2025-03-22T07:51:18.000Z","dependencies_parsed_at":"2025-10-16T18:44:41.529Z","dependency_job_id":"a472f266-ed98-407e-8764-6cfee1f434e5","html_url":"https://github.com/siddharth23/cucumber_reporter_sync","commit_stats":null,"previous_names":["siddharth23/cucumber_reporter","siddharth23/cucumber_reporter_sync"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/siddharth23/cucumber_reporter_sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddharth23%2Fcucumber_reporter_sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddharth23%2Fcucumber_reporter_sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddharth23%2Fcucumber_reporter_sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddharth23%2Fcucumber_reporter_sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddharth23","download_url":"https://codeload.github.com/siddharth23/cucumber_reporter_sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddharth23%2Fcucumber_reporter_sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29566366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T00:47:08.760Z","status":"online","status_checked_at":"2026-02-18T02:00:09.468Z","response_time":162,"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":["automation","cucumber","cucumber-reports","library","merge","merge-and-notify-slack","node","npm","npm-package","report","slack","slack-webhook","slacknotify","test","testing"],"created_at":"2025-02-09T21:16:42.824Z","updated_at":"2026-02-18T02:03:03.655Z","avatar_url":"https://github.com/siddharth23.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cucumber Reporter Sync\n\n`cucumber_reporter_sync` is an npm library designed to merge multiple Cucumber JSON reports and optionally post the results to a Slack channel. It helps streamline the process of aggregating Cucumber test results and sharing them in a team communication platform like Slack.\n\n## Features\n\n- Merge multiple Cucumber JSON reports into a single report.\n- Recursively search for reports in subdirectories.\n- Generate a merged report in a specified output file.\n- Optionally post the merged report to a Slack channel using a Slack webhook.\n\n## Installation\n\nTo install the `cucumber_reporter_sync` package, run the following command:\n\n```bash\nnpm install cucumber_reporter_sync --save-dev\n```\n\n## Usage\n\n## Merging and posting test report to Slack\n\nYou can also configure the library to post the merged report to a Slack channel. To do this, add the --slack \u003cwebhook-url\u003e option with your Slack Incoming Webhook URL:\n\n```bash\nnpx cucumber_reporter_sync merge --recursive --dir reports --slack https://hooks.slack.com/{YOUR WEBHOOK URL}\n```\n\n### Parameters:\n\n- --recursive (optional)\n  Recursively search for report files in subdirectories.\n\n- --dir \u003cdirectory\u003e (required)\n  The directory where the Cucumber JSON reports are located. You can specify the root directory and the program will find all relevant files.\n\n- -o \u003coutput-file\u003e (required)\n  The file path where the merged report should be saved. It will save the merged JSON to the specified file.\n\n- --slack \u003cwebhook-url\u003e (optional)\n  The Slack webhook URL where the merged report will be posted. You'll need to create an Incoming Webhook in your Slack workspace to get this URL.\n\n#### Example:\n\n```bash\nnpx cucumber_reporter_sync merge --dir ./reports -o ./reports/merged-report.json --slack https://hooks.slack.com/services/XXX/YYY/ZZZ\n```\n\n## Change The Username and Environment\n\nIn order to change the username and environment, you can use set the following environment variables:\n\n### Username\n\n```bash\nexport TEST_USERNAME={YOUR USERNAME}\n```\n\n#### Example:\n\n```bash\nexport TEST_USERNAME=siddharth23\n```\n\n### Environment\n\n```bash\nexport TEST_ENV={YOUR ENVIRONMENT}\n```\n\n#### Example:\n\n```bash\nexport TEST_ENV=staging\n```\n\n### Slack Formatting\n\nThe merged Cucumber report will be posted to Slack with key information, such as:\nTotal number of tests\nPassed and failed tests scenarios side by side view\n\n![Sample Slack Report](./assets/slacksample.png)\n\n# Collaborators\n\nThis project is currently maintained by:\n\n- [@siddharth23](https://github.com/siddharth23)\n- ![Siddharth Kala](./assets/collaborator.jpg)\n\nFeel free to contribute if you'd like to help improve this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddharth23%2Fcucumber_reporter_sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddharth23%2Fcucumber_reporter_sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddharth23%2Fcucumber_reporter_sync/lists"}