{"id":13995540,"url":"https://github.com/XCTestHTMLReport/XCTestHTMLReport","last_synced_at":"2025-07-22T22:31:06.502Z","repository":{"id":37936288,"uuid":"98071258","full_name":"XCTestHTMLReport/XCTestHTMLReport","owner":"XCTestHTMLReport","description":"Xcode-like HTML report for Unit and UI Tests","archived":false,"fork":false,"pushed_at":"2025-03-16T21:50:15.000Z","size":75369,"stargazers_count":760,"open_issues_count":68,"forks_count":134,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-06-24T18:04:58.269Z","etag":null,"topics":["html-report","swift","ui-testing","unit-testing","xcode","xcode-ui-testing","xctest"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/XCTestHTMLReport.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2017-07-23T03:08:22.000Z","updated_at":"2025-05-29T08:46:32.000Z","dependencies_parsed_at":"2023-10-15T05:40:23.669Z","dependency_job_id":"7b279915-c7a7-4b7c-a33b-4b76a1d8753d","html_url":"https://github.com/XCTestHTMLReport/XCTestHTMLReport","commit_stats":{"total_commits":310,"total_committers":38,"mean_commits":8.157894736842104,"dds":0.7290322580645161,"last_synced_commit":"6720162abbbe1a301d3e606ba993b03ab797bb09"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"purl":"pkg:github/XCTestHTMLReport/XCTestHTMLReport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XCTestHTMLReport%2FXCTestHTMLReport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XCTestHTMLReport%2FXCTestHTMLReport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XCTestHTMLReport%2FXCTestHTMLReport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XCTestHTMLReport%2FXCTestHTMLReport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XCTestHTMLReport","download_url":"https://codeload.github.com/XCTestHTMLReport/XCTestHTMLReport/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XCTestHTMLReport%2FXCTestHTMLReport/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266585674,"owners_count":23952163,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["html-report","swift","ui-testing","unit-testing","xcode","xcode-ui-testing","xctest"],"created_at":"2024-08-09T14:03:28.537Z","updated_at":"2025-07-22T22:31:06.052Z","avatar_url":"https://github.com/XCTestHTMLReport.png","language":"Swift","readme":"[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/XCTestHTMLReport/XCTestHTMLReport/ci.yml?style=flat\u0026logo=github)](https://github.com/XCTestHTMLReport/XCTestHTMLReport/actions/workflows/ci.yml)\n[![Codecov](https://img.shields.io/codecov/c/github/XCTestHTMLReport/XCTestHTMLReport?style=flat\u0026logo=codecov)](https://codecov.io/github/XCTestHTMLReport/XCTestHTMLReport)\n[![Sonar Violations (long format)](https://img.shields.io/sonar/violations/XCTestHTMLReport_XCTestHTMLReport/main?style=flat\u0026logo=sonar\u0026server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/summary/new_code?id=XCTestHTMLReport_XCTestHTMLReport)\n\n\n[![](https://img.shields.io/endpoint?color=blue\u0026style=flat\u0026url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FXCTestHTMLReport%2FXCTestHTMLReport%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/XCTestHTMLReport/XCTestHTMLReport)\n[![](https://img.shields.io/endpoint?color=blue\u0026style=flat\u0026url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FXCTestHTMLReport%2FXCTestHTMLReport%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/XCTestHTMLReport/XCTestHTMLReport)\n\n![title](https://i.imgur.com/yTtjLP6.png)\n\n## What is it?\n\nXcode-like HTML report for Unit and UI Tests\n\n![screenshot](https://i.imgur.com/NHRzoXG.jpg)\n\n## Features\n\n-   Supports parallel testing\n-   Supports attachments:\n    -   .png\n    -   .jpeg\n    -   .heic\n    -   .txt\n    -   .log\n    -   .mp4\n    -   .gif\n-   Navigate through the report with the keyboard's arrow keys\n-   Filter out successful, failed, skipped, or mixed-result tests\n-   Displays information about the target device\n-   Displays activity logs\n-   Junit report(`-j` flag)\n-   Json report(`--json` flag)\n-   Shrink bundle size by removing unattached files\n-   Automatically convert heic images to browser-friendly format\n-   Render as a single html file with inline attachments or as a bundle\n-   Downsize image attachments\n\n\n## Installation\n\n### Homebrew (recommended)\n\nInstall via [Homebrew](https://brew.sh/)\n\nInstall latest stable version\n\n```bash\nbrew install xctesthtmlreport\n```\n\nInstall latest from `main` branch\n\n```\nbrew install xctesthtmlreport --HEAD\n```\n\n### Mint\n\nInstall via [Mint](https://github.com/yonaskolb/Mint)\n\nInstall latest stable version\n\n```bash\nmint install XCTestHTMLReport/XCTestHTMLReport\n```\n\nInstall latest from `main` branch\n\n```\nmint install XCTestHTMLReport/XCTestHTMLReport@main\n```\n\n## Usage\n\nRun your UI tests using `xcodebuild` without forgetting to specify the `resultBundlePath`\n\n``` bash\n$ xcodebuild test -workspace XCTestHTMLReport.xcworkspace -scheme SampleApp -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0' -resultBundlePath TestResults\n```\n\nThen use the previously downloaded xchtmlreport tool to create the HTML report. Additionally, `-i` flag is also available to inline all resources, this is convenient for exporting the html file standalone. HTML file will be much heavier but much more portable.\n\n``` bash\n$ xchtmlreport TestResults.xcresult\n\nReport successfully created at ./index.html\n```\n\n### Multiple Result Bundle Path\n\n``` bash\n$ xchtmlreport TestResults1 TestResults2\n\nReport successfully created at ./index.html\n```\n\nThis will create only one HTML Report in the path you passed with the -r option\n\n### Generate Junit Reports\n\nYou can generate junit reports with the `-j` flag\n\n``` bash\n$ xchtmlreport -j TestResults1\n\nReport successfully created at ./index.html\n\nJUnit report successfully created at report.junit\n```\n\n### Generate JSON Reports\n\nYou can generate json reports with the `--json` flag\n\n``` bash\n$ xchtmlreport -json TestResults1\n\nReport successfully created at ./index.html\n\nJSON report successfully created at ./report.json\n```\n\n## Fastlane Support\n\nhttps://github.com/TitouanVanBelle/fastlane-plugin-xchtmlreport\n\n## Contribution\n\nPlease create an issue whenever you find an issue or think a feature could be a good addition to XCTestHTMLReport. Always make sure to follow the [Contributing Guidelines](CONTRIBUTING.md). Feel free to take a shot at these issues.\n\n## Special Thanks\n\nThank you to the original author of this tool, [TitouanVanBelle](https://github.com/TitouanVanBelle)! 🥳🎉\n\n## License\n\nXCTestHTMLReport is [available under the MIT license](https://github.com/XCTestHTMLReport/XCTestHTMLReport/blob/main/LICENSE).\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXCTestHTMLReport%2FXCTestHTMLReport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FXCTestHTMLReport%2FXCTestHTMLReport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FXCTestHTMLReport%2FXCTestHTMLReport/lists"}