forked from dbt-labs/dbt-snowflake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADAP-893: Support test results as views (dbt-labs#783)
* implement persist test results tests, leave querying relation type as open issue * update to use centralized relation type tests * update changelog and test names to reflect renamed parameter * implement store-failures-as test cases * revert dev branch update * update tests to cover new test cases in dbt-core
- Loading branch information
1 parent
6c684b4
commit cb75cac
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
27 changes: 26 additions & 1 deletion
27
tests/functional/adapter/store_test_failures_tests/test_store_test_failures.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,32 @@ | ||
from dbt.tests.adapter.store_test_failures_tests import basic | ||
from dbt.tests.adapter.store_test_failures_tests.test_store_test_failures import ( | ||
TestStoreTestFailures, | ||
) | ||
|
||
|
||
class SnowflakeTestStoreTestFailures(TestStoreTestFailures): | ||
class TestSnowflakeStoreTestFailures(TestStoreTestFailures): | ||
pass | ||
|
||
|
||
class TestStoreTestFailuresAsInteractions(basic.StoreTestFailuresAsInteractions): | ||
pass | ||
|
||
|
||
class TestStoreTestFailuresAsProjectLevelOff(basic.StoreTestFailuresAsProjectLevelOff): | ||
pass | ||
|
||
|
||
class TestStoreTestFailuresAsProjectLevelView(basic.StoreTestFailuresAsProjectLevelView): | ||
pass | ||
|
||
|
||
class TestStoreTestFailuresAsGeneric(basic.StoreTestFailuresAsGeneric): | ||
pass | ||
|
||
|
||
class TestStoreTestFailuresAsProjectLevelEphemeral(basic.StoreTestFailuresAsProjectLevelEphemeral): | ||
pass | ||
|
||
|
||
class TestStoreTestFailuresAsExceptions(basic.StoreTestFailuresAsExceptions): | ||
pass |