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.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a28d905d106ed742640fe073cbb86885b971f3c0e8a356191e5f453ad3d99f86 |
|
MD5 | 3d0d512392ebbf25625c6ecbdba495b7 |
|
BLAKE2b-256 | 765a2b197e7cbab068454fbc7f0a61bfe99d0e12d40c4a8cd21b2669fe8000fb |
Hashes for dbt_tests_adapter-1.1.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 399bef7e857767edbddd44edbae2bf317fa81cbb942b232ae83e54bd85167ac0 |
|
MD5 | 09d4edf55772d2571a7ebe7cebdc3266 |
|
BLAKE2b-256 | 72c5f4a453204d43d61f5d747c350444c2a3938c3e641c240903b6b4bd8f345d |