Home

Awesome

dbt-integration-tests

:warning: THIS SUITE IS NO LONGER THE RECOMMENDED WAY TO TEST ADAPTERS. If you are building and testing a new dbt adapter, please read instead: "Testing a new adapter"

Installation

Clone this repository, then run pip install -r requirements.txt. Make sure that this project is installed into the same Python environment as the adapter and dbt code that you want to test.

Usage

To invoke, use:

bin/run-with-profile <profile-name> <other-options>

So, for example, to run the tests on a profile named postgres:

bin/run-with-profile postgres

To run a specific test:

bin/run-with-profile postgres features/001_basic_materializations.feature