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.0rc2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8aced7c7274e4aab4b4d6f0b8d10b2d25a479bb2ff6274effd50e13b77f1872 |
|
MD5 | 25aa9fc70b076b9abab888366248ae56 |
|
BLAKE2b-256 | 137296bb82dbbdac40b45218af7f76adfe0058f66c60a8fef4905cebd93b5bb6 |
Hashes for dbt_tests_adapter-1.1.0rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caade9293b2ce4528cb0a49ff812d3de05f4e18ce8e3f55f636e8bee49305559 |
|
MD5 | 801b11ca0787ab9b83d67fab86219bc0 |
|
BLAKE2b-256 | 32964164930353ac81e0efcca8783e4c382ef4e0fa9243b75c59932592805416 |