dbt-labs / dbt-jsonschema

Apache License 2.0
109 stars 40 forks source link

Add data tests #125

Closed joellabes closed 2 months ago

joellabes commented 3 months ago

Resolves #124 by renaming the tests def to data_tests, and adding an additional ref called data_tests to every block where a tests block already existed.

The huge diff from line 800 to line 1600 (ish) is solely due to a rename of the key and then re-sorting the json accordingly, so feel free to ignore that.