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.1rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbbcb5784d854d2174d5d260c7c968bde00b93d18dae67776196a9eceb40f75b |
|
MD5 | a09188dd368963e4bc07d82d891d7d8b |
|
BLAKE2b-256 | 342af702e3acec85e74b6b8ab64b04cd5f312e59ee426e11eca2ba24a3b15240 |
Hashes for dbt_tests_adapter-1.1.1rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f37905a8d9f5c44cc47747929d096506efeac5b24b1e6147b30e397c2f353eb |
|
MD5 | e8254617004ed8398ab1232c558c79e0 |
|
BLAKE2b-256 | c49d44cb4c4d623efca8bedde1c1fbc6fc4f139e0209af80d260ef64988d98ec |