Generic tests are ready-to-use dbt tests, declared in YAML on a column or a model: unique, not_null, accepted_values and relationships. Each test compiles into a query that returns the failing rows; the test passes if no rows are returned.
Example
columns:
- name: id
tests: [unique, not_null]