-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[unit testing] update "tests:" to "data_tests" #104
Comments
@graciegoheen I am working on this now! Some questions/comments:
# dbt_project.yml
tests:
joel_sandbox:
marts:
+enabled: false
data_tests:
joel_sandbox:
marts:
+enabled: true I assume not, and you're only allowed one of those? |
I just tested this with:
And that seems to have worked fine. When I ran
|
^thinking that's sort of an odd deprecation notice, since in this case I used cc: @MichelleArk @gshank |
ty! That answers the first question, but my second q's example was in |
@joellabes Indeed! Added this block to my
|
Turns out it's not easy to have a "if a is defined, b is not allowed to be defined" rule :( so I think I'm going to have to leave this as a compile-time error. but good to know anyway! |
With the introduction of unit testing (coming to
dbt-core
in1.8
), we are changing the priortests:
configs todata_tests:
(thoughtests:
with still be supported for backwards compatibility).tests:
todata_tests:
tests:
todata_tests:
The text was updated successfully, but these errors were encountered: