dbt-labs / dbt-core

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
https://getdbt.com
Apache License 2.0
10.01k stars 1.63k forks source link

unit test dbt_project.yml context #10951

Open MichelleArk opened 3 weeks ago

MichelleArk commented 3 weeks ago

https://docs.getdbt.com/reference/dbt-jinja-functions/dbt-project-yml-context

devmessias commented 3 weeks ago

The idea is to expand the unit test documentation, right? This page talks about var and env_var. Currently, unit tests don’t work if var/env_var context are used. I’ve opened a PR to address this, but until it’s reviewed, wouldn’t it be better to specify that this is not yet supported?

https://github.com/dbt-labs/dbt-core/pull/10849