Configuration

The plugin runs in the context of a dbt project.

Project directory

When you run pytest from the root of your project, you do not need to set the project directory. If you want to run pytest from another location, you point the –dbt-project-dir option to the root of your project.

Target

If you want to use another target than the default, you set the –dbt-target option.

Profiles directory

If you want to change dbt’s profiles directory, use the –profiles-dir option.