Skip to main content

vulkro-sf coverage-attest

Check that Apex test coverage meets the AppExchange requirement.

Command reference​

Generated from vulkro-sf coverage-attest --help (vulkro-sf 0.28.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

Check that Apex test coverage meets the AppExchange requirement.

vulkro-sf coverage-attest [OPTIONS] <COVERAGE>

Arguments​

ArgumentDescription
<COVERAGE>Path to the Apex coverage JSON report.

Options​

FlagDescription
--min <MIN>Minimum required coverage percentage (default 75, the AppExchange bar) Default: 75.
-f, --format <FORMAT>Output format: table (default) or json. Default: table.
-v, --verbose...Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins)
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
-h, --helpPrint help (see a summary with '-h')
Full vulkro-sf coverage-attest --help
Check that Apex test coverage meets the AppExchange requirement.

Attest that Apex test coverage meets the AppExchange bar (Wave 7, Epic J).

Ingests the offline code-coverage JSON a sandbox test run produces (e.g. `sf apex run test --code-coverage --json > coverage.json`) and produces an attestation that org-wide and per-class coverage meet the AppExchange Security Review bar (75% by default), naming every under-covered class. Vulkro does not run the tests: it reads the report your pipeline already generated.

Exit codes: 0 = coverage meets the bar; 1 = coverage is below the bar (under-covered classes reported); 2 = error (file unreadable, not a coverage report, unknown --format).

Usage: vulkro-sf coverage-attest [OPTIONS] <COVERAGE>

Arguments:
<COVERAGE>
Path to the Apex coverage JSON report

Options:
--min <MIN>
Minimum required coverage percentage (default 75, the AppExchange bar)

[default: 75]

-f, --format <FORMAT>
Output format: table (default) or json

[default: table]

-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)

-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged

--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb

-h, --help
Print help (see a summary with '-h')