test-report

command
v0.0.0-...-5e1a877 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Binary test-report generates a self-contained HTML test report from Bazel's Build Event Protocol (BEP) JSON output.

Usage:

test-report <bep.jsonl>
test-report                     # reads .bazel-bep.jsonl

The BEP file is produced by:

bazelisk test //... --build_event_json_file=bep.jsonl

Each test target's test.xml (JUnit XML) is read via the file:// URIs in the BEP testResult events. Writes self-contained HTML to stdout.

This tool is generic — it works with any Bazel project (Go, Java, C++, etc.) as long as the test runner produces JUnit XML output (which Bazel mandates).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL