-
Notifications
You must be signed in to change notification settings - Fork 76
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 Tests run on dbt docs
and dbt compile
#56
Comments
Hi @SOVALINUX. Thank you for your feedback, we really appreciate. Thank you |
@cdiniz great, thanks. So far I've took a look on the flags and what's inside the context. |
Hi @SOVALINUX Thanks for your input.
Delegating to the commands gives us the chance to choose when we want to compile or not the tests. Do you think we can close the issue and have this trade-off? |
Hi @cdiniz |
Hi @cdiniz |
Hi
Currently once I run
dbt compile
ordbt docs
command it take me significantly longer due to unit-tests executionI can workaround it with
dbt compile --exclude tag:unit-test
but it's not something I'd like to type every timeI looked in the implementation and looks like today it's impossible to fix it in
dbt-unit-testing
package with currentdbt-core
version (1.0.4)What I was thinking about: adding another variable to Jinja context at
dbt-core
likecommand
so we can simply skip running queries in case ofcommand
differs fromtest
Raising the issue here to hear your thoughts on it, since most likely you're facing the same issue - thanks in advance!
Note: I'm running unit tests with overwritten dbt_unit_testing
ref
andsource
macrosesP.S. Very cool unit-testing framework! Already using it and improving!
The text was updated successfully, but these errors were encountered: