vulkro bench
Walk a fixtures directory and assert that every positive_<name>.<ext>
fires the matching detector and every negative_<name>.<ext> stays
silent. This catches detector regressions without per-rule integration
tests. Useful when you maintain your own rule packs or fixtures.
Usage
vulkro bench --fixtures ./bench/fixtures
Flags
| Flag | Description | Default |
|---|---|---|
--fixtures <PATH> | Root directory of <rule>/positive_*.<ext> and <rule>/negative_*.<ext> fixtures. | bench/fixtures |
Exit codes
0every fixture matches expectation.1at least one fixture violates the positive / negative contract.2IO failure (fixtures directory missing, and similar).
Related
vulkro rules- author and manage rule packs.- Suppressions - suppressing findings in source and config.