{"id":18911087,"url":"https://github.com/sgtcoolguy/danger-plugin-junit","last_synced_at":"2025-08-16T16:09:25.375Z","repository":{"id":33660865,"uuid":"159868451","full_name":"sgtcoolguy/danger-plugin-junit","owner":"sgtcoolguy","description":"Add your Junit XML test failures to Danger","archived":false,"fork":false,"pushed_at":"2023-01-04T18:45:02.000Z","size":1421,"stargazers_count":1,"open_issues_count":10,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-08T21:59:50.941Z","etag":null,"topics":["danger-js","danger-plugin","junit"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/sgtcoolguy.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-30T19:19:06.000Z","updated_at":"2021-08-30T15:33:24.000Z","dependencies_parsed_at":"2023-01-15T01:55:36.383Z","dependency_job_id":null,"html_url":"https://github.com/sgtcoolguy/danger-plugin-junit","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/sgtcoolguy/danger-plugin-junit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtcoolguy%2Fdanger-plugin-junit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtcoolguy%2Fdanger-plugin-junit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtcoolguy%2Fdanger-plugin-junit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtcoolguy%2Fdanger-plugin-junit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgtcoolguy","download_url":"https://codeload.github.com/sgtcoolguy/danger-plugin-junit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgtcoolguy%2Fdanger-plugin-junit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270546504,"owners_count":24604460,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"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":["danger-js","danger-plugin","junit"],"created_at":"2024-11-08T09:47:59.136Z","updated_at":"2025-08-16T16:09:25.348Z","avatar_url":"https://github.com/sgtcoolguy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# danger-plugin-junit\n\n[![Build Status](https://travis-ci.org/sgtcoolguy/danger-plugin-junit.svg?branch=master)](https://travis-ci.org/sgtcoolguy/danger-plugin-junit)\n[![npm version](https://badge.fury.io/js/danger-plugin-junit.svg)](https://badge.fury.io/js/danger-plugin-junit)\n\n\n\u003e Add your Junit XML test failures to Danger\n\n## Usage\n\nInstall:\n\n```sh\nnpm install danger-plugin-junit --save-dev\n# or\nyarn add danger-plugin-junit --dev\n```\n\nAt a glance:\n\n```js\n// dangerfile.js\nimport junit from 'danger-plugin-junit'\n\nasync function main() {\n\tawait junit({ pathToReport: './build/reports/**/TESTS*.xml' })\n}\n\nmain()\n\t.then(() =\u003e process.exit(0))\n\t.catch(err =\u003e {\n\t\tfail(err.toString());\n\t\tprocess.exit(1);\n\t});\n```\n\nThe default `pathToReport` value is `'./build/reports/**/TESTS*.xml'`\nThe value is a [glob](https://www.npmjs.com/package/glob) string to gather up test result files.\n\nThis plugin will only report test failures and errors. If any tests fail, it will report a single `fail()` message and record a table of the failed tests using `markdown()`.\n\nAn example of what is produced is below:\n![](junit_results.png)\n\n## Changelog\n\nSee the GitHub [release history](https://github.com/sgtcoolguy/danger-plugin-junit/releases).\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgtcoolguy%2Fdanger-plugin-junit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgtcoolguy%2Fdanger-plugin-junit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgtcoolguy%2Fdanger-plugin-junit/lists"}