How to configure the dbt test severity of all tests belong to a specific type of test in dbt_project.yml?

The problem I’m having

I know I can configure all tests that belong to all models that under a path in the dbt_project.yml. But I don’t know how to configure the dbt test severity of all tests belong to a specific type of test in dbt_project.yml.

The context of why I’m trying to do this

For example, I use a specific test many times. I want to easily configure all of them to severity:warn. Those tests are added to models under different paths.

Thank you for any help and idea.

I believe you can only do it if they are singular tests or custom generic tests.

If this is your case you can use this documentation https://docs.getdbt.com/reference/resource-configs/severity

Hi Brunoszdl,

Thank you for your kind reply. I see.

Regards,
Albert

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.