macOS
brew install xctesthtmlreportlocal Homebrew formula metadata
安装
brew install xctesthtmlreportlocal Homebrew formula metadata
概览
Xcode-like HTML report for Unit and UI Tests
历史
XCTestHTMLReport is a Swift command-line reporter for Apple XCTest result bundles. It turns an .xcresult produced by xcodebuild into an Xcode-like HTML report, with later releases adding richer export formats and CI-friendly report artifacts.
The project began publicly in July 2017 under Titouan Van Belle, with its first tag appearing the same day as the initial import. Its README still thanks Van Belle as the original author, while the current official repository lives under the XCTestHTMLReport organization.
The tool evolved with XCTest and Xcode result bundle workflows: the README documents support for parallel testing, attachments, device information, activity logs, HTML bundle output, single-file inline HTML, JUnit reports, and JSON reports. That places it in the small ecosystem of tools that make Apple test output easier to inspect outside Xcode.
Adoption appears centered on iOS and macOS CI users who run xcodebuild with a resultBundlePath and need a human-readable report afterward. The official README recommends Homebrew for stable installs and Mint for Swift-tool installation, which maps neatly to common Apple developer tooling.
The project also had fastlane integration through the official xchtmlreport plugin, where users enable result bundles in scan and call xchtmlreport after test execution. That made it useful in mobile CI pipelines where fastlane was already orchestrating tests.
A typical workflow is to run xcodebuild test with -resultBundlePath, then run xchtmlreport against the resulting .xcresult directory. The tool writes an index.html report by default and can also emit JUnit or JSON output for CI systems.
The single-file inline mode is useful when the report needs to be attached to a CI job, sent around, or archived without a directory of separate assets.
For package catalog users, XCTestHTMLReport is a niche but recognizable Apple testing utility: it packages an otherwise project-local CI reporting trick as a reusable CLI. Its significance is less about being universal and more about bridging Xcode result bundles, Homebrew, Mint, and fastlane-era automation.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xchtmlreport | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/XCTestHTMLReport/XCTestHTMLReport
安装元数据
| 软件包键 | brew:xctesthtmlreport |
|---|---|
| 版本 | 2.5.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/xctesthtmlreport |
| 主页 | https://github.com/XCTestHTMLReport/XCTestHTMLReport |
| 仓库 | https://github.com/XCTestHTMLReport/XCTestHTMLReport |
| 上游文档 | https://github.com/XCTestHTMLReport/XCTestHTMLReport#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/XCTestHTMLReport/XCTestHTMLReport/archive/refs/tags/2.5.1.tar.gz |
| macOS 提供的库 | swift |
| Bottle | 可用 (于 arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xctesthtmlreport |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.