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.0rc3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f3637f6776ff51d35c2bb4c0189a2b7967e3f71a5ce18e2ccb26c05ea95320 |
|
MD5 | d5a8fffaae1194ce400927f0f3af0b51 |
|
BLAKE2b-256 | e83c2201b74fcd32a4f7aefca6d7a6e441b0bb05c4951d01c8df16b0452a921e |
Hashes for dbt_tests_adapter-1.1.0rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae157a29a0e2e0d3e8e264c8b39edf70e3980780068c9750a34f4932dad9c85c |
|
MD5 | 4022c9055fd19e992bacc63097f4d1b3 |
|
BLAKE2b-256 | 0c6fc429e741e08e584cfc2b3db004962c41cfb046c3a23ba5231ded916e8703 |