{"id":15434316,"url":"https://github.com/cenfun/monocart-coverage-vscode","last_synced_at":"2025-04-19T18:09:27.637Z","repository":{"id":250730877,"uuid":"835305911","full_name":"cenfun/monocart-coverage-vscode","owner":"cenfun","description":"Monocart Coverage for VSCode","archived":false,"fork":false,"pushed_at":"2024-09-28T04:59:17.000Z","size":2287,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-18T08:52:34.086Z","etag":null,"topics":["coverage","monocart","v8","vscode"],"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/cenfun.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-07-29T15:05:31.000Z","updated_at":"2024-09-28T04:59:20.000Z","dependencies_parsed_at":"2024-10-20T14:33:36.601Z","dependency_job_id":null,"html_url":"https://github.com/cenfun/monocart-coverage-vscode","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"f67aa01e33a158aecc8f742bb3cc46c448aa992e"},"previous_names":["cenfun/monocart-coverage-vscode"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cenfun%2Fmonocart-coverage-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cenfun%2Fmonocart-coverage-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cenfun%2Fmonocart-coverage-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cenfun%2Fmonocart-coverage-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cenfun","download_url":"https://codeload.github.com/cenfun/monocart-coverage-vscode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249758830,"owners_count":21321608,"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":["coverage","monocart","v8","vscode"],"created_at":"2024-10-01T18:38:48.599Z","updated_at":"2025-04-19T18:09:27.621Z","avatar_url":"https://github.com/cenfun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monocart Coverage for VSCode\n\nThis extension shows native V8 code coverage in VSCode\n\n![](assets/preview.gif)\n\n## Getting Started\n\nRequirements: this extension works with [monocart-coverage-reports](https://github.com/cenfun/monocart-coverage-reports)\n\nInstall `monocart-coverage-reports` and generate `coverage-report.json` file with `v8-json` report.\n\n```js\nconst coverageOptions = {\n    // ...\n    reports: ['v8-json']\n    // ...\n}\n```\n\n## Performance\n\nTest with `TypeScript` project, open the file `checker.ts` (52K+ lines)\n\n![](assets/performance.gif)\n\n\n## Coverage for Test Runner\n\nVSCode officially supports coverage view for the test runner, see [test-coverage](https://code.visualstudio.com/api/extension-guides/testing#test-coverage), I've tried adding V8 coverage data for the test runner, but it didn't luck. Maybe someone can help.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenfun%2Fmonocart-coverage-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcenfun%2Fmonocart-coverage-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenfun%2Fmonocart-coverage-vscode/lists"}