Concept Flow - Custom singular tests
Write SQL query for test
Define test in schema.yml
Run dbt test command
dbt executes test query
Check if query returns rows
Test fails
Report result
This flow shows how you write a custom singular test as a SQL query, define it in dbt, run it, and dbt checks if the query returns any rows to decide pass or fail.