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-893: Support test results as views #783

Merged
merged 9 commits into from
Oct 11, 2023
6 changes: 6 additions & 0 deletions .changes/unreleased/Features-20230919-171047.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-19T17:10:47.516098-04:00
custom:
Author: mikealfare
Issue: "6914"
4 changes: 2 additions & 2 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# install latest changes in dbt-core
# TODO: how to automate switching from develop to version branches?
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@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

# if version 1.x or greater -> pin to major version
# if version 0.x -> pin to minor
Expand Down
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 SnowflakeTestStoreTestFailures(TestStoreTestFailures):
class TestSnowflakeStoreTestFailures(TestStoreTestFailures):
mikealfare marked this conversation as resolved.
Show resolved Hide resolved
pass


class TestSnowflakeStoreTestFailuresAsInteractions(StoreTestFailuresAsInteractions):
pass


class TestSnowflakeStoreTestFailuresAsProjectLevelOff(StoreTestFailuresAsProjectLevelOff):
pass


class TestSnowflakeStoreTestFailuresAsProjectLevelView(StoreTestFailuresAsProjectLevelView):
pass


class TestSnowflakeStoreTestFailuresAsGeneric(StoreTestFailuresAsGeneric):
pass