analytics-dictionary / term / transformation & metrics
dbt test
A dbt test is an automated check that a model meets expectations, such as unique, not null or valid values.
Written by Reflective Data experts · updated Oct 5, 2026
Generic tests like unique, not_null, accepted_values and relationships cover most basics, and custom tests handle business rules. Tests run in CI and on schedule, catching data problems before dashboards break.
Every model key should have a uniqueness and not-null test.
related
Data observabilityData qualitydbt
// how we can help
We build tested data models and semantic layers, or host them for you. Data build and semantic layers → · Hosted dbt on the platform