{"id":15445699,"url":"https://github.com/scriptnull/mocha-github-reporter","last_synced_at":"2025-04-19T20:42:21.627Z","repository":{"id":41413216,"uuid":"83154242","full_name":"scriptnull/mocha-github-reporter","owner":"scriptnull","description":"Delivering mocha results from CI to Github. 📋","archived":false,"fork":false,"pushed_at":"2022-07-01T14:48:47.000Z","size":647,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T18:06:47.198Z","etag":null,"topics":["continuous-integration","github","mocha","mocha-reporter","tdd"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptnull.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}},"created_at":"2017-02-25T18:48:53.000Z","updated_at":"2024-03-16T14:50:55.000Z","dependencies_parsed_at":"2022-08-26T21:52:35.286Z","dependency_job_id":null,"html_url":"https://github.com/scriptnull/mocha-github-reporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fmocha-github-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fmocha-github-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fmocha-github-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptnull%2Fmocha-github-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptnull","download_url":"https://codeload.github.com/scriptnull/mocha-github-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249795202,"owners_count":21326777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["continuous-integration","github","mocha","mocha-reporter","tdd"],"created_at":"2024-10-01T19:45:46.730Z","updated_at":"2025-04-19T20:42:21.600Z","avatar_url":"https://github.com/scriptnull.png","language":"JavaScript","readme":"# mocha-github-reporter\n\n[![npm](https://img.shields.io/npm/v/mocha-github-reporter.svg)]() ![code style standard](https://img.shields.io/badge/code_style-standard-brightgreen.svg) ![license](https://img.shields.io/github/license/scriptnull/mocha-github-reporter.svg)\n\nDelivering mocha results from CI to Github. 📋\n\n## Install\n```bash\n$ npm install --save-dev mocha-github-reporter\n```\n\n## Usage\nSetup environment variables.\n\n| ENVIRONMENT VARIABLE | EXAMPLE |\n|----------------------|---------|\n| GITHUB_ACCESS_TOKEN | XXXXX |\n| GITHUB_REPO_SLUG | scriptnull/mocha-github-reporter |\n| REPORT_TITLE | Mocha report for Build $BUILD_NUMBER |\n| REPORT_ALWAYS | true |\n| REPORT_FORMATTER | `all-suites` (default). See below for more. |\n\nRun mocha.\n\n```bash\n$ mocha --reporter mocha-github-reporter tests/\n```\n## Reports\nAny one of the following report formats could be setup by specifying it as `REPORT_FORMATTER` environment variable.\n\n### all-suites\nResembles default mocha reporting.\n![all-suites](/screens/all-suites.png)\n\n### all-suites-emoji\nemoji can be configured via `PASSED_EMOJI` and `FAILED_EMOJI` environment variables. Example: FAILED_EMOJI='poop'\n![all-suites-emoji](/screens/all-suites-emoji.png)\n\n### failed-checklist\nSuited to be used as a checklist for sending PR fixes.\n![failed-checklist](/screens/failed-checklist.png)\n\n## Contribute\n- Bug fixes.\n- Adding new formatters.\n\n[Open issue](https://github.com/scriptnull/mocha-github-reporter/issues/new) to discuss more.\n\n## Thanks\n\u003e \"Thanks for taking time to evaluate `mocha-github-reporter`. It means a lot to this project. I hope that, this project takes you one step closer to a supercharged workflow\" - [scriptnull](https://twitter.com/scriptnull)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptnull%2Fmocha-github-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptnull%2Fmocha-github-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptnull%2Fmocha-github-reporter/lists"}