{"id":28171629,"url":"https://github.com/kitproj/junit2html","last_synced_at":"2026-01-12T06:38:24.939Z","repository":{"id":50325202,"uuid":"489227200","full_name":"kitproj/junit2html","owner":"kitproj","description":"Convert junit.xml into gorgeous HTML reports","archived":false,"fork":false,"pushed_at":"2023-03-13T14:40:00.000Z","size":119,"stargazers_count":8,"open_issues_count":2,"forks_count":9,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-06-20T07:49:17.607Z","etag":null,"topics":["junit","xml"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/kitproj.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}},"created_at":"2022-05-06T05:26:27.000Z","updated_at":"2024-06-20T07:49:17.608Z","dependencies_parsed_at":"2023-07-13T05:54:09.948Z","dependency_job_id":null,"html_url":"https://github.com/kitproj/junit2html","commit_stats":null,"previous_names":["alexec/junit2html"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitproj%2Fjunit2html","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitproj%2Fjunit2html/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitproj%2Fjunit2html/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitproj%2Fjunit2html/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitproj","download_url":"https://codeload.github.com/kitproj/junit2html/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254404327,"owners_count":22065641,"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":["junit","xml"],"created_at":"2025-05-15T19:15:35.512Z","updated_at":"2026-01-12T06:38:24.930Z","avatar_url":"https://github.com/kitproj.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# junit2html\n\nConvert Junit XML reports (`junit.xml`) into HTML reports using a single standalone binary.\n\n* Standalone binary.\n* Failed tests are top, that's what's important.\n* No JavaScript.\n* Look gorgeous.\n\n## Screenshot\n\n![screenshot](screenshot.png)\n\n## Install\n\nLike `jq`, `junit2html` is a tiny (8Mb) standalone binary. You can download it from the [releases page](https://github.com/kitproj/junit2html/releases/latest).\n\nIf you're on MacOS, you can use `brew`:\n\n```bash\nbrew tap kitproj/junit2html --custom-remote https://github.com/kitproj/junit2html\nbrew install junit2html\n```\n\nOtherwise, you can use `curl`:\n\n```bash\ncurl -q https://raw.githubusercontent.com/kitproj/junit2html/main/install.sh | sh\n```\n\n## Usage\n\nHere is an example that uses trap to always created the test report:\n\n```bash\ngo install github.com/alexec/junit2html@latest\n\ntrap 'go-junit-report \u003c test.out \u003e junit.xml \u0026\u0026 junit2html \u003c junit.xml \u003e test-report.html' EXIT\n\ngo test -v -cover ./... 2\u003e\u00261 \u003e test.out\n```\n\n💡 Don't use pipes (i.e. `|`) in shell, pipes swallow exit codes. Use `\u003c` and `\u003e` which is POSIX compliant.\n\n## Test\n\nHow to test this locally:\n\n```bash\ngo test -v -cover ./... 2\u003e\u00261 \u003e test.out\ngo-junit-report \u003c test.out \u003e junit.xml \ngo run . \u003c junit.xml \u003e test-report.html \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitproj%2Fjunit2html","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitproj%2Fjunit2html","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitproj%2Fjunit2html/lists"}