coverage

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Command coverage produces a markdown report linking parity scenarios to PORT_MAP.md entries.

Usage:

# 1. Run the suite with JSON output
go test -tags=parity ./parity/runner -v -args -pig-parity.results=/tmp/parity.json

# 2. Generate the report
go run ./parity/cmd/coverage \
    -results /tmp/parity.json \
    -port-map PORT_MAP.md \
    -scenarios parity/scenarios > /tmp/coverage.md

The report shows, for every upstream file in PORT_MAP.md:

  • the port status as recorded in PORT_MAP.md
  • how many scenarios reference it via `covers = [...]`
  • whether the last run was green

A `cov:0` row means: file is ported but unverified by the parity suite.

Jump to

Keyboard shortcuts

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