The severity of a dbt test indicates the consequence of a failure: error (default) makes the run fail, warn reports the problem without stopping it. You can also define thresholds (warn_if, error_if) based on the number of failing rows, to tell a minor defect from a blocking one.
Example
tests:
- not_null:
config:
severity: warn