Mikhail Kuklin
09/02/2025, 10:40 AMkapa.ai
09/02/2025, 10:40 AMkapa.ai
09/02/2025, 10:40 AMMikhail Kuklin
09/02/2025, 10:43 AMkapa.ai
09/02/2025, 10:43 AMkapa.ai
09/02/2025, 10:43 AMdbt_project.yml to set certain configurations (like tags or severity) for groups of models within a folder. However, according to the knowledge sources, this approach does not allow you to define Elementary anomaly or freshness tests themselves at the folder or model group level. The tests must still be explicitly defined for each model in your YAML files. You can use folder-level configuration for some dbt settings (such as severity), but not for adding tests themselves. For example, you can set severity for all models in a folder using: yaml tests: project_name: folder_of_models: +severity: warn But this does not add the test to all models in the folder; it only sets the configuration for tests that are already defined on those models. You still need to define the actual test for each model individually in your schema YAML files. This is a limitation of dbt and is confirmed by multiple sources in the Elementary community<sup>[source](https://slack.com/archives/C02CTC89LAX/p1685629003685259)</sup><sup>[source](https://slack.com/archives/C02CTC89LAX/p1704886421763019)</sup><sup>[source](https://slack.com/archives/C02CTC89LAX/p1688453123425429)</sup>. In summary: - You can inherit some configurations at the folder level, but you cannot define Elementary tests themselves at the folder/model group level in open-source dbt. - Each test must be explicitly listed for each model. If you need to apply the same test to many models, you might consider scripting the YAML generation or using Elementary Cloud, which offers bulk test configuration via the UI.