The dbt adapter tests for adapter plugins
Project description
dbt-tests-adapter
This is where we store the adapter tests that will be used by plugin repos. It should be included in the dbt-core and plugin repos by installing using pip.
Tests in this repo will be packaged as classes, with a base class that can be imported by adapter test repositories. Tests that might need to be overridden by a plugin will be separated into separate test methods or test classes as they are discovered.
This plugin is installed in the dbt-core repo by pip install -e tests/adapter, which is included in the editable-requirements.txt file.
The dbt.tests.adapter.basic tests originally came from the earlier dbt-adapter-tests repository. Additional test directories will be added as they are converted from dbt-core integration tests, so that they can be used in adapter test suites without copying and pasting.
This is packaged as a plugin using a python namespace package so it cannot have an init.py file in the part of the hierarchy to which it needs to be attached.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dbt-tests-adapter-1.1.2rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | aef381c833fbf1fcd432d38189a76dfcce78158c149424c8f303928fb0b4ad4f |
|
MD5 | bb176c270b4ee9a7d2d5a45b7de436ac |
|
BLAKE2b-256 | 625318ecb46bfb13526b4700967b5d1a7b6fc349fd1d647a344f43d5d74052ba |
Hashes for dbt_tests_adapter-1.1.2rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f5745e1d816108778301d8c477c49f0275775437386b1425c3a3482b354fcb |
|
MD5 | 0ef7e5933cb91591b3201a2e7f256990 |
|
BLAKE2b-256 | d3e294f33bce0416503767ea4bf2bc2b6d5f632038084e504749ff156bbe53eb |