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.1rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e70138f43958c7c37875918fe697668a2365d5633a33051211dde9f0623e9240 |
|
MD5 | c5eb3fceef07b9d6209c9303cfcbe378 |
|
BLAKE2b-256 | a5fb5cfd5b5a1a74c41ff10f900fd98d42e15eae871ebb15894aed5c0c58c4b6 |
Hashes for dbt_tests_adapter-1.1.1rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84f392cb1de72951aa1a3abecd58002aa5fe50a0e317b05836e1625cd5764cce |
|
MD5 | 20853ed8751644eeb178b4a9c7684715 |
|
BLAKE2b-256 | 2182853ae0d225ef2b886fbaa50a31bcb9575d5b4b9128e62195b30d8bbc7802 |