Tests for disabled/non-existent models fail silently #968
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Milestone
Issue
Issue description
When running
dbt test
, tests which reference non-existent or disabled models will not run, and there is no associated info or debug message indicating why.We made dbt skip these tests quietly on purpose here. This is to avoid error messages if you disable a model but still have tests for that model. This happens somewhat frequently with models inside of dbt packages.
Results
A custom data test which
ref
s a nonexistent or disabled model does not run, and no warning or error is emitted.System information
this bug is present in dbt at the time of the 0.11.0 release
Steps to reproduce
$ dbt test
The text was updated successfully, but these errors were encountered: