Replies: 1 comment 1 reply
-
|
Have you tried using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, when you try to run a unit test for a model without creating the model first, you get the following error message (also see this issue):
Ideally, unit testing should be doable fully locally, but due to this requirement of the model having to be built first, it requires a lot of work to set up a fully local unit testing solution. This is because all the source data upstream of the model needs to be present in a local DB for the build to succeed, which doesn't seem to be easy with
dbt seed(due to restrictions related to databases/schemas and name conflicts).Therefore, it seems like the least cumbersome solution would be to support running the unit tests without requiring creating the model itself first.
Beta Was this translation helpful? Give feedback.
All reactions