Data & AI glossary
Data test
An automatic check that a table follows an expected rule: unique identifier, field never empty, positive amount, total consistent with the source.
IN PRACTICE
A rule checked on every run.
In dbt, a test is written in one line next to the model and runs on every execution. There are several levels: structure (uniqueness, mandatory fields, permitted values), business logic (the sum of the lines equals the order total) and reconciliation with the source (the warehouse’s revenue matches the accounts).
Example: a duplicate in the product reference silently doubles that product’s sales in every dashboard. A uniqueness test stops the pipeline before publication.
The trap: tests that warn without blocking anything, and that nobody looks at any more. Decide for each one whether its failure blocks, and who is notified. Another failing: only testing the technical side, never the business meaning. See data quality.
GO FURTHER
Read next.
WHAT COMES NEXT, WE BUILD TOGETHER
Your next project
starts with a conversation.
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project