Test Dialect fixtures.
rootform test [directory] [options]Analyze Dialect fixtures and compare the Forms they produce with the recorded ones. A fixture is a directory holding one plan.json or state.json export and an analysis.golden Form; the project at the test directory selects the Dialects. A plan.tfplan saved plan beside plan.json must pair with it, and its configuration snapshot then contributes the facts that follow references.
A golden records the Form with only the Dialect definitions it reaches. The comparison ignores which Rootform version and which Dialect versions recorded it. With --update, test writes the produced golden for every case that differs, and for a directory holding an export but no golden yet.
Without a directory, test reads the current directory. Text or JSON results go to standard output. Diagnostics go to standard error.
rootform testrootform test ./fixturesrootform test ./fixtures --run cloud-sqlrootform test ./fixtures --format jsonrootform test ./fixtures --updateFollow Test and validate for the fixture workflow and Policy evaluation examples.