Skip to main content

KNOWN_CASES

Constant KNOWN_CASES 

Source
pub const KNOWN_CASES: &[&str];
Expand description

Every case the binary knows how to load. Adding a new case requires:

  1. A new entry here (alphabetical-ish, but grouped by failure family).
  2. A matching fixtures/cases/<name>.json file.
  3. A matching fixtures/logs/<name>.log file.
  4. A [rules.<rule_name>] section in prose.toml if the case triggers a rule that doesn’t already exist.

The known_cases_matches_on_disk_fixtures test enforces (1)+(2) stay in sync; new fixture without a constant entry — or vice versa — breaks cargo test.