# 使用 Homebrew 安装 tracetest

查看 tracetest 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:tracetest
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tracetest
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tracetest
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tracetest>
- **版本:** 1.7.1
- **来源摘要:** Build integration and end-to-end tests
- **主页:** <https://docs.tracetest.io/>
- **仓库:** <https://github.com/kubeshop/tracetest>
- **上游文档:** <https://docs.tracetest.io/>
- **许可证:** MIT
- **源码归档:** <https://github.com/kubeshop/tracetest/archive/refs/tags/v1.7.1.tar.gz>
- **最后更新:** 2026-07-26T00:51:26+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tracetest (cli)
- tracetest (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.7.1
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/kubeshop/tracetest
- 检测到的最新版本: v1.7.1 (当前)
## 项目历史与用法

Tracetest is a cloud-native testing tool that uses OpenTelemetry traces as the basis for integration and end-to-end tests. Its official docs position it as a way for developers and QA engineers to test distributed systems by asserting against trace data as well as normal request results.

### 项目历史

Kubeshop created the Tracetest repository in February 2022. The earliest public release metadata starts in April 2022, followed by rapid 0.x releases as the project developed its trace-based testing model.

The core idea is that a test triggers an operation, collects the resulting distributed trace, and lets the user define assertions against spans, attributes, timings, side effects, and OpenTelemetry instrumentation quality. The project therefore emerged alongside wider OpenTelemetry adoption in microservice systems.

By the v1.x line, Tracetest presented several deployment modes: a managed cloud service, an enterprise self-hosted option, and an open-source Tracetest Core container intended for hobby or local environments. The Homebrew formula packages the `tracetest` CLI, which is the command-line entry point into that workflow.

### 采用历史

Official docs describe Tracetest users as developers or QA engineers building distributed systems in languages such as Go, Rust, Node.js, and Python. That audience is narrower than general web testing, but central to teams already instrumenting services with OpenTelemetry.

The README and docs emphasize CI/CD automation: tests can be saved as YAML, run through the CLI, chained into suites or transactions, parameterized with variables, and used in build jobs. The repository also says the project uses Tracetest to test its own back end, making the tool part of its own release discipline.

Package-manager adoption is visible through Homebrew and the Go-based build dependency in the formula. For package nerds, Tracetest is the sort of tool that turns an observability backend into a test dependency, so a CLI package matters even when the full product also has web and cloud components.

### 使用方式

A typical workflow is to pick an endpoint, run a test to obtain a trace, inspect the trace as a blueprint of the system's behavior, add span assertions, and rerun the test manually or from CI. Official examples use YAML definitions with HTTP or gRPC triggers and selectors such as database spans with duration assertions.

The docs distinguish Tracetest from browser-driven tools such as Cypress or Selenium: instead of treating the browser as the test surface, it uses existing OpenTelemetry instrumentation and trace data to validate each step of a request transaction.

### 为什么软件包爱好者会关心

Tracetest is significant in the package-nerd niche because it packages a modern observability-driven test workflow behind a CLI. It belongs to the class of developer tools where the package is not the whole system, but is the reproducible local and CI handle for talking to infrastructure.

Its version history is also typical of fast-moving cloud-native tools: many prereleases and patch releases, a Docker/container story, YAML definitions for reproducibility, and Homebrew packaging for developer laptops.

### 时间线

- 2022-02: GitHub repository created.
- 2022-04: v0.1.0 released.
- 2022-09: v0.7.0 released with trigger, trace, test, and installation changes.
- 2023-12: v0.15.0 released.
- 2024-10: v1.7.1 released.
- 2024-11: nightly release metadata published.

### Related projects

- OpenTelemetry, Cypress, Selenium, CI/CD systems, distributed tracing backends, Docker.

### 来源

- <https://api.github.com/repos/kubeshop/tracetest>
- <https://docs.tracetest.io/>
- <https://formulae.brew.sh/formula/tracetest>
- <https://github.com/kubeshop/tracetest#readme>
- <https://github.com/kubeshop/tracetest/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [tilt](https://pkg.so/zh-hans/brew/tilt/) - Shares pkgdb curated category or tags: cli, developer-tools, microservices.
- [grafana-alloy](https://pkg.so/zh-hans/brew/grafana-alloy/) - Shares pkgdb curated category or tags: cli, developer-tools, opentelemetry.
- [otel-cli](https://pkg.so/zh-hans/brew/otel-cli/) - Shares pkgdb curated category or tags: cli, developer-tools, opentelemetry.
- [keploy](https://pkg.so/zh-hans/brew/keploy/) - Shares pkgdb curated category or tags: cli, developer-tools, integration-testing.
- [micronaut](https://pkg.so/zh-hans/brew/micronaut/) - Shares pkgdb curated category or tags: cli, developer-tools, microservices.
- [jhipster](https://pkg.so/zh-hans/brew/jhipster/) - Shares pkgdb curated category or tags: cli, developer-tools, microservices.
- [gf](https://pkg.so/zh-hans/brew/gf/) - Shares pkgdb curated category or tags: cli, developer-tools, microservices.
- [beakerlib](https://pkg.so/zh-hans/brew/beakerlib/) - Shares pkgdb curated category or tags: cli, developer-tools, integration-testing.
- [testscript](https://pkg.so/zh-hans/brew/testscript/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, integration, integration-testing.
- [nightwatch](https://pkg.so/zh-hans/npm/nightwatch/) - Local package facts share a topical domain. Shared terms: based, cli, developer, developer-tools, end.

## Combined YAML source

View the package source record on GitHub. [combined/tracetest.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tracetest.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
