Constants§
- DEFAULT_
TEXT_ SNAPSHOT_ CHARACTER_ LIMIT - Limit how many characters we persist/compare for large text snapshots.
- REWRITE_
SERIALISED_ JSON_ MAX_ LINES - Limit how many lines of the rewrite serialisation we persist/compare in integration tests.
Functions§
- assert_
eq_ any_ order - minion_
solutions_ from_ json - read_
default_ rule_ trace - Reads a default rule trace text file.
- read_
model_ json - read_
model_ json_ prefix - Reads only the first
max_linesfrom a serialised model JSON file. - read_
solutions_ essence - save_
model_ json - save_
solutions_ essence - Writes solutions in Conjure’s multi-solution Essence format.
- save_
stats_ json - serialize_
domains - serialize_
model - truncate_
to_ first_ chars