{"id":21157917,"url":"https://github.com/vodyani/coverage-report","last_synced_at":"2025-07-10T02:38:45.211Z","repository":{"id":40299142,"uuid":"470464916","full_name":"vodyani/coverage-report","owner":"vodyani","description":"📚  During jest testing, it was used to generate mochawesome compliant json formatted reports.","archived":false,"fork":false,"pushed_at":"2025-05-08T08:12:11.000Z","size":54,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-13T01:45:30.734Z","etag":null,"topics":["cicd","coverage","javascript","jest","mocha","mochawesome","report","test","typescript"],"latest_commit_sha":null,"homepage":"","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/vodyani.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}},"created_at":"2022-03-16T06:48:15.000Z","updated_at":"2022-09-07T11:02:08.000Z","dependencies_parsed_at":"2023-01-22T11:45:13.234Z","dependency_job_id":"4f521b86-3ad1-4010-b752-4660b96c9469","html_url":"https://github.com/vodyani/coverage-report","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.040000000000000036","last_synced_commit":"cbfe961b2c11099d58dbcff3fa7db78aeaae2e70"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vodyani/coverage-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodyani%2Fcoverage-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodyani%2Fcoverage-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodyani%2Fcoverage-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodyani%2Fcoverage-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vodyani","download_url":"https://codeload.github.com/vodyani/coverage-report/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vodyani%2Fcoverage-report/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264519719,"owners_count":23621858,"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":["cicd","coverage","javascript","jest","mocha","mochawesome","report","test","typescript"],"created_at":"2024-11-20T12:12:33.427Z","updated_at":"2025-07-10T02:38:45.193Z","avatar_url":"https://github.com/vodyani.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vodyani coverage-report\n\n*📚 During jest testing, it was used to generate mochawesome compliant json formatted reports.*\n\n[![Npm](https://img.shields.io/npm/v/@vodyani/coverage-report)](https://www.npmjs.com/package/@vodyani/coverage-report)\n[![Npm](https://img.shields.io/npm/dm/@vodyani/coverage-report)](https://www.npmjs.com/package/@vodyani/coverage-report)\n[![License](https://img.shields.io/github/license/vodyani/coverage-report)](LICENSE)\n![Workflow](https://github.com/vodyani/coverage-report/actions/workflows/release.yml/badge.svg)\n[![Known Vulnerabilities](https://snyk.io/test/github/vodyani/coverage-report/badge.svg?targetFile=package.json)](https://snyk.io/test/github/vodyani/coverage-report?targetFile=package.json)\n\n## Installation\n\n```sh\nnpm install --save-dev @vodyani/coverage-report\n```\n\n## Usage\n\nTypically, I would add the testResultsProcessor property stated in `JEST` to with the `CI/CD` execution and pass it in to take effect.\n\nFirst, you should define the test commands in the `package.json` file beforehand.\n\n```json\n{\n  \"scripts\": {\n    \"test\": \"jest\",\n    \"test:coverage\": \"jest --coverage\"\n  }\n}\n```\n\nAnd\n\n```sh\nnpm run test --ci --testResultsProcessor=\"@vodyani/coverage-report\"\n```\n\n**Output**\n\nThe reporter writes to `report.json` by default. The `JEST_REPORT_JSON` environment variable can be used to alter the file name.\n\nJust like this.\n\n```sh\nJEST_REPORT_JSON=\"./coverage/report.json\" npm run test:coverage --ci --testResultsProcessor=\"@vodyani/coverage-report\"\n```\n\n**Example**\n\n[*Click here to view an example of github activities in action.*](https://github.com/vodyani/workflows/blob/8aab8360f0566cb42d3ff9bcfd94e5ed4ef4b6f3/.github/workflows/publish-codecov.yml#L39)\n\n## License\n\nVodyani coverage-report is [MIT licensed](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvodyani%2Fcoverage-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvodyani%2Fcoverage-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvodyani%2Fcoverage-report/lists"}