[Bug] Unit tests + compiled paths: report correct compiled path if the test fails, and don't overwrite input compiled paths with fixtures #9608
Labels
bug
Something isn't working
dbt tests
Issues related to built-in dbt testing functionality
High Severity
bug with significant impact that should be resolved in a reasonable timeframe
pre-release
Bug not yet in a stable release
unit tests
Issues related to built-in dbt unit testing functionality
Milestone
Is this a new bug in dbt-core?
Current Behavior
Two problems:
Expected Behavior
May be tricky to link what we're running with the definition of it. The dummy nodes and manifest go away at the end of execution.
Steps To Reproduce
Run
dbt build
, and see that:models/subfolder/my_model.yml
rather thantarget/compiled/my_dbt_project/models/my_model.yml/models/my_unit_test.sql
target/compiled/my_dbt_project/models/model_a.sql
with its fixture for the unit test, which I think we should avoid doing if possible:Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: