Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADAP-891: Support test results as views #614

Merged
merged 9 commits into from
Oct 10, 2023
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230921-153707.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Features
body: Support storing test failures as views
time: 2023-09-21T15:37:07.970722-04:00
custom:
Author: mikealfare
Issue: "6914"
6 changes: 3 additions & 3 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# install latest changes in dbt-core + dbt-postgres
# TODO: how to switch from HEAD to x.y.latest branches after minor releases?
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-postgres&subdirectory=plugins/postgres
git+https://github.com/dbt-labs/dbt-core.git@feature/materialized-tests/adap-850#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git@feature/materialized-tests/adap-850#egg=dbt-tests-adapter&subdirectory=tests/adapter
git+https://github.com/dbt-labs/dbt-core.git@feature/materialized-tests/adap-850#egg=dbt-postgres&subdirectory=plugins/postgres

# if version 1.x or greater -> pin to major version
# if version 0.x -> pin to minor
Expand Down
24 changes: 23 additions & 1 deletion tests/functional/adapter/test_store_test_failures.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
from dbt.tests.adapter.store_test_failures_tests.basic import (
StoreTestFailuresAsGeneric,
StoreTestFailuresAsInteractions,
StoreTestFailuresAsProjectLevelOff,
StoreTestFailuresAsProjectLevelView,
)
from dbt.tests.adapter.store_test_failures_tests.test_store_test_failures import (
TestStoreTestFailures,
)


class RedshiftTestStoreTestFailures(TestStoreTestFailures):
class TestRedshiftTestStoreTestFailures(TestStoreTestFailures):
mikealfare marked this conversation as resolved.
Show resolved Hide resolved
pass


class TestRedshiftStoreTestFailuresAsInteractions(StoreTestFailuresAsInteractions):
pass


class TestRedshiftStoreTestFailuresAsProjectLevelOff(StoreTestFailuresAsProjectLevelOff):
pass


class TestRedshiftStoreTestFailuresAsProjectLevelView(StoreTestFailuresAsProjectLevelView):
pass


class TestRedshiftStoreTestFailuresAsGeneric(StoreTestFailuresAsGeneric):
pass