tools/

directory
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT

Directories

Path Synopsis
Command coverattr says which e2e test is the only one executing which statements: every package's tests are profiled once, then each e2e test in a process of its own, and the two are compared block by block.
Command coverattr says which e2e test is the only one executing which statements: every package's tests are profiled once, then each e2e test in a process of its own, and the two are compared block by block.
Command coverdiff reports changed lines the tests never executed.
Command coverdiff reports changed lines the tests never executed.
Package kindswitch keeps step-kind dispatch where golangci-lint's `exhaustive` can check it.
Package kindswitch keeps step-kind dispatch where golangci-lint's `exhaustive` can check it.
Command mutants measures mutation testing (sweep, all), keeps the ledger of it (stale, summary, record), and judges e2e (judge).
Command mutants measures mutation testing (sweep, all), keeps the ledger of it (stale, summary, record), and judges e2e (judge).
Package sqlscope finds SQL statements that touch a pipeline-scoped table without naming pipeline_id, or a run-scoped one (run_id REFERENCES runs, no pipeline_id of its own) without naming pipeline_id or reaching runs.
Package sqlscope finds SQL statements that touch a pipeline-scoped table without naming pipeline_id, or a run-scoped one (run_id REFERENCES runs, no pipeline_id of its own) without naming pipeline_id or reaching runs.
Command stamp ties a commit to the tree `task` last passed on: the sequence takes eight minutes, so a hook that RAN it would be bypassed by the second day, while one that only COMPARES tree hashes costs nothing and proves more — the tree tested is the tree pushed.
Command stamp ties a commit to the tree `task` last passed on: the sequence takes eight minutes, so a hook that RAN it would be bypassed by the second day, while one that only COMPARES tree hashes costs nothing and proves more — the tree tested is the tree pushed.
Command testshard runs one test package as several processes of a single compiled test binary, so a package of serial tests finishes in the time of its slowest shard; each process keeps its own globals, which is what t.Setenv, t.Chdir, a swapped os.Stdout and a daemon stopped by SIGINT to its own pid all need, and what t.Parallel cannot give them.
Command testshard runs one test package as several processes of a single compiled test binary, so a package of serial tests finishes in the time of its slowest shard; each process keeps its own globals, which is what t.Setenv, t.Chdir, a swapped os.Stdout and a daemon stopped by SIGINT to its own pid all need, and what t.Parallel cannot give them.

Jump to

Keyboard shortcuts

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