Doc system test

Snapshot comparison

How an artifact test compares actual output with the saved snapshot folder.

Meta block front matter of this doc
namespaces
  • durian.cloud/cyanprint/authoring
type
algorithm
code
  • sulfone.iridium/cyanprint/src/test_cmd/validation.rs

Text is compared after CRLF becomes LF and one final newline is removed. Binary file contents are skipped, but a missing or extra binary file, or a text/binary switch, still fails. --update-snapshots copies the actual output over the snapshot; resolver tests then run one case at a time.

Where it lives

  • sulfone.iridium/cyanprint/src/test_cmd/validation.rs

Stub: summary only.