← 全部工具

ctrf-cli

热度 65 更新于 开发与构建

Various CTRF utilities available from the command line

npmauto-collected

安装

npm
npm install -g ctrf-cli

通过 npm 安装。

CTRF CLI Reference Implementation

Command line tooling for the Common Test Report Format (CTRF) specification.

CTRF Open Standard

CTRF is a community-driven open standard for test reporting.

By standardizing test results, reports can be validated, merged, compared, and analyzed consistently across languages and frameworks.

  • CTRF Specification: https://github.com/ctrf-io/ctrf

The official specification defining the format and semantics

  • Discussions: https://github.com/orgs/ctrf-io/discussions

Community forum for questions, ideas, and support

[!NOTE] ⭐ Starring the CTRF specification repository (https://github.com/ctrf-io/ctrf) helps support the standard.

Usage

Without Installation

Use npx to run the CLI without installing:

npx ctrf-cli@0.0.5 validate report.json

Global Installation

Or install globally for repeated use:

npm install -g ctrf-cli@0.0.5

After global installation, use the ctrf command: