Explicitly attach a SQL singular test to specific model(s) #11079
AndrewBasem1
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if this functionality already exists or not, but I couldn't find any documentation for it anywhere.
Suppose I have three dbt models and a singular SQL dbt test as shown below:
and suppose that the SQL code of the
singular test
is as follows:Currently if I try running
dbt test -s orders
ordbt test -s inventory_levels
the singular test will run. but nothing will happen if I rundbt test -s reporting_model
. is there a way to explicitly configure the singular test to be attached to (and only to) the reporting model? Maybe something in the config block of the singular test?Beta Was this translation helpful? Give feedback.
All reactions