[CT-1395] [Feature] Make tests fail if model is not found #6133
Labels
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
help_wanted
Trickier changes, with a clear starting point, good for previous/experienced contributors
Is this your first time submitting a feature request?
Describe the feature
Currently, tests for tables that are not materialized and are not being referenced by other tables are skipped.
Let's say we have a table called
table_1
and a developer changes its name totable_2
and runsdbt test
. The tests fortable_2
will be skipped with following warning:It would be nice if we could configure the tests to fail instead so we get visibility on possible typos/mistakes.
Describe alternatives you've considered
I'm aware we can use
--warn-errors
to convert warnings to errors. However, this will be applied to all the warnings in the project which means non-related warnings will start to be thrown as errors when we want to keep them as warnings.Who will this benefit?
We had an issue where a developer, by mistake, changed the name of one model and the tests started being skipped for that specific model. This will benefit users who need to be notified of this kind of mistakes.
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: