dbt-labs / dbt-adapter-tests

a pytest plugin for dbt adapter test suites
19 stars 11 forks source link

add dbt adapter integration test class #13

Closed kwigley closed 3 years ago

kwigley commented 3 years ago

resolves #12

This is the first pass for adding integration testing test cases to adapter plugins. This contains the same structure and API as test/integration/base.py in dbt, but without any references to specific adapter or profile types. Tested locally with dbt-postgres integration tests. I'll follow up with creating an example that sets up integration tests with an adapter plugin.

kwigley commented 3 years ago

closing this as we want to take a better approach here, simply pulling over code from dbt-core has unblocked dbt-spark tests, but it will introduce an ugly pattern that will make further testing with this plugin difficult to manage