# Install xctesthtmlreport with Homebrew

Xcode-like HTML report for Unit and UI Tests. Version 2.5.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:xctesthtmlreport
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install xctesthtmlreport
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:xctesthtmlreport
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/xctesthtmlreport>
- **Version:** 2.5.1
- **Source summary:** Xcode-like HTML report for Unit and UI Tests
- **Homepage:** <https://github.com/XCTestHTMLReport/XCTestHTMLReport>
- **Repository:** <https://github.com/XCTestHTMLReport/XCTestHTMLReport>
- **Upstream docs:** <https://github.com/XCTestHTMLReport/XCTestHTMLReport#readme>
- **License:** MIT
- **Source archive:** <https://github.com/XCTestHTMLReport/XCTestHTMLReport/archive/refs/tags/2.5.1.tar.gz>
- **Generated:** 2026-07-26T07:20:29+00:00

## Executables

- xchtmlreport (cli)
- xchtmlreport (alias)

## Uses from macOS

- swift

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura

## Freshness

- Page generated: 2026-07-26
- Package-manager version: 2.5.1
- Local data: ok
- Upstream repository: https://github.com/XCTestHTMLReport/XCTestHTMLReport
- Upstream latest detected: 2.5.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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 history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2017-07-26: Initial public commit and 1.0.0 tag.
- 2019-10-21: 2.0.0 tag, marking a major release line.
- 2021-10-09: 2.2.0 tag after the project moved into the XCTestHTMLReport organization era.
- 2024-08-05: 2.5.0 tag.
- 2025-03-16: 2.5.1 tag.

### Related projects

- XCTest and xcodebuild: produce the .xcresult bundles that XCTestHTMLReport consumes.
- fastlane-plugin-xchtmlreport: official fastlane integration for invoking the reporter from mobile CI lanes.
- Mint and Homebrew: installation paths documented by the project for Swift and CLI users.

### Sources

- Git history and tags, XCTestHTMLReport/XCTestHTMLReport: https://github.com/XCTestHTMLReport/XCTestHTMLReport
- Homebrew formula API: https://formulae.brew.sh/api/formula/xctesthtmlreport.json
- README, XCTestHTMLReport/XCTestHTMLReport: https://github.com/XCTestHTMLReport/XCTestHTMLReport#readme
- fastlane plugin README: https://github.com/TitouanVanBelle/fastlane-plugin-xchtmlreport#readme


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xctesthtmlreport
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [bluepill](https://www.automicvault.com/pkg/brew/bluepill/) - Shares av.db curated category or tags: cli, developer-tools, ui-testing, xcode.
- [appium](https://www.automicvault.com/pkg/brew/appium/) - Shares av.db curated category or tags: cli, developer-tools, ui-testing.
- [cocoapods](https://www.automicvault.com/pkg/brew/cocoapods/) - Shares av.db curated category or tags: cli, developer-tools, xcode.
- [configen](https://www.automicvault.com/pkg/brew/configen/) - Shares av.db curated category or tags: cli, developer-tools, xcode.
- [ios-sim](https://www.automicvault.com/pkg/brew/ios-sim/) - Shares av.db curated category or tags: cli, developer-tools, xcode.
- [kin](https://www.automicvault.com/pkg/brew/kin/) - Shares av.db curated category or tags: cli, developer-tools, xcode.
- [lcov](https://www.automicvault.com/pkg/brew/lcov/) - Shares av.db curated category or tags: cli, developer-tools, html-report.
- [licenseplist](https://www.automicvault.com/pkg/brew/licenseplist/) - Shares av.db curated category or tags: cli, developer-tools, xcode.
- [jest-stare](https://www.automicvault.com/pkg/npm/jest-stare/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, html, html-report.

## Combined YAML source

View the package source record on GitHub. [combined/xctesthtmlreport.yml](https://github.com/automic-vault/db/blob/main/combined/xctesthtmlreport.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
