{"id":20293007,"url":"https://github.com/gemini-testing/json-reporter","last_synced_at":"2025-04-11T11:32:03.682Z","repository":{"id":45029209,"uuid":"81072268","full_name":"gemini-testing/json-reporter","owner":"gemini-testing","description":"Common json reporter for gemini and hermione","archived":false,"fork":false,"pushed_at":"2024-04-22T13:28:30.000Z","size":160,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-28T04:48:39.331Z","etag":null,"topics":["gemini-plugin","hermione-plugin","json-report"],"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/gemini-testing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-06T09:49:46.000Z","updated_at":"2024-06-21T20:18:44.573Z","dependencies_parsed_at":"2024-06-21T20:18:31.221Z","dependency_job_id":"81d6a2ef-3808-4efe-a13a-837fed3b6e9f","html_url":"https://github.com/gemini-testing/json-reporter","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fjson-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fjson-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fjson-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemini-testing%2Fjson-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemini-testing","download_url":"https://codeload.github.com/gemini-testing/json-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248383940,"owners_count":21094638,"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":["gemini-plugin","hermione-plugin","json-report"],"created_at":"2024-11-14T15:20:40.120Z","updated_at":"2025-04-11T11:32:03.657Z","avatar_url":"https://github.com/gemini-testing.png","language":"JavaScript","readme":"# json-reporter\n\n[![npm](https://img.shields.io/npm/v/json-reporter.svg)](https://www.npmjs.com/package/json-reporter)\n[![Build Status](https://travis-ci.org/gemini-testing/json-reporter.svg?branch=master)](https://travis-ci.org/gemini-testing/json-reporter)\n\nCommon plugin for:\n\n* [testplane](https://github.com/gemini-testing/testplane)\n* [hermione](https://github.com/gemini-testing/testplane/tree/hermione)\n\nwhich is intended to aggregate the results of tests running.\n\nYou can read more about testplane plugins [here](https://github.com/gemini-testing/testplane/blob/master/docs/config.md#plugins).\n\n## Installation\n\n```bash\nnpm install json-reporter\n```\n\n## Usage\n\nPlugin has following configuration:\n\n* **enabled** (optional) `Boolean` – enable/disable the plugin; by default plugin is enabled\n* **path** (optional) `String` - path for saving json report file; by default json report will be saved into `json-reporter.json` inside current work directory.\n\nAlso there is ability to override plugin parameters by CLI options or environment variables\n(see [configparser](https://github.com/gemini-testing/configparser)).\n\n### Testplane usage\n\nAdd plugin to your `testplane` config file:\n\n```ts\nexport default {\n    // ...\n    plugins: {\n        'json-reporter/testplane': {\n            enabled: true,\n            path: 'my/custom/report.json'\n        }\n    },\n    //...\n}\n```\n\n### Hermione usage\n\nAdd plugin to your `hermione` config file:\n\n```js\nmodule.exports = {\n    // ...\n    plugins: {\n        'json-reporter/hermione': {\n            enabled: true,\n            path: 'my/custom/report.json'\n        }\n    },\n    //...\n}\n```\n\n## Testing\n\nRun [mocha](http://mochajs.org) tests:\n```bash\nnpm run test-unit\n```\n\nRun tests with [istanbul](https://github.com/gotwarlost/istanbul) coverage calculation:\n```bash\nnpm run cover\n```\n\nRun [eslint](http://eslint.org) codestyle verification\n```bash\nnpm run lint\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-testing%2Fjson-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemini-testing%2Fjson-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemini-testing%2Fjson-reporter/lists"}