- vbs doctest extracts fenced C++ blocks from ///, //! and Doxygen comments,
compiles each as main() with #line diagnostics mapped to the header,
links optional --source files and reports per-block pass/fail.
- vbs test --shard I/N clusters tests with their fixture prerequisites and
greedily balances clusters using the previous run's timings
(<build>/.vbs/test_timings.json, written after every run).
- --rerun-failed re-runs only the previously failed closure
(<build>/.vbs/last_failed_tests.json); --known-flaky FILE reports flaky
failures without failing the run.
- --coverage-min PCT and --coverage-diff BASE enforce coverage gates from
the lcov report (summary comparison via Report::read_lcov_summary).
- vbs fuzz compiles a libFuzzer target with clang
(-fsanitize=fuzzer,address,undefined), runs it over a corpus and reports
crash artifacts.
Verified: doctest_extracts_compiles_and_runs_blocks,
test_sharding_partitions_tests_and_records_timings,
test_rerun_failed_and_known_flaky,
coverage_gates_enforce_minimum_and_baseline and
fuzz_builds_targets_and_reports_crashes pass; CLI contracts pass;
clang-format clean.