Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Testing and Golden Artifacts

  • Golden tests compare serialized AST JSON for fixtures under tests/fixtures/*.pml and goldens in tests/golden/*.json.
  • Regenerate goldens only via environment switch:
UPDATE_GOLDEN=1 cargo test -p proofdown_parser
  • Parser limits and error-path tests ensure safe failures with structured errors.
  • Validator unit tests enforce attribute bounds and whitelist behavior.
  • Fuzzing and property tests ensure robustness on adversarial inputs.