Skip to main content

Module runner

Module runner 

Source
Expand description

The listing a check’s own run implies: built from the argv of a fast check that runs the toolchain — its selectors, filters and packages kept — so a test counts only if a check the verdict rests on would run it. No check runs the toolchain: there is no listing, and the file is unknown.

Functions§

cargo_list
The listing of one target as the cargo test check would run it: its package and feature options and its test filters kept, the target selected, --list added. The second argv lists the ignored tests (subtracted), unless the check runs them too.
cargo_runs
The target a cargo test check runs: whether it runs binary of package pkg (kind: lib, bin <name>, test <name>).
go_list
The go check as go test -list <its -run, else .> <its packages>.
jest_list
The jest check with --listTests, its path patterns and projects kept.
nextest_list
cargo nextest run … as cargo nextest list … --message-format json, its filters and package selection kept.
pytest_list
The pytest check with --collect-only -q: its paths, -k, -m kept.
runs
Whether a check’s argv runs toolchain’s tests.
skips_unseen_by_listing
A skip that a listing cannot see (the listing names the test, the run skips it): pytest, JS and Go files with one are decided by a report only.
vitest_list
The vitest check as vitest list --json, its filters and projects kept.