Data tests family
Templates: databricks/tests/data_tests.jinja
Roots: workflow, step, source, sources, this, methodology,
tests, connection
The data-test notebook: the
step-notebook
context extended with a tests block. On this family every base group is
present in practice, the methodology’s audit columns arrive fully expanded, and
connection carries the destination catalog and schema (not the source
connector).
| Field | Type | Meaning |
|---|---|---|
tests.loadStepName | string | The load step this test step validates. |
tests.sourceTableFqn | string | The source table’s fully qualified name (the first upstream feed). |
tests.targetTableFqn | string | The table being written. |
tests.assertionsPython | string | The rendered Python assertion body, built from the table’s effective tests and the source and target column sets. |
connection.catalog / .schema | string | Destination catalog and schema; the literal unknown when the table has no resolvable connection. |
methodology.auditColumns[] | array | Real expanded audit columns (name, expression); the empty floor is replaced before this family renders. |