Skip to main content

Can I store my data tests in a directory other than the `test` directory in my project?

By default, dbt expects your bespoke ("data") test files to be located in the tests subdirectory of your project.

To change this, update the test-paths configuration in your dbt_project.yml file, like so:

test-paths: ["data-tests"]