Skip to content

Commit

Permalink
add number of contraints to test seed, update equality test based on …
Browse files Browse the repository at this point in the history
…dbt utils 1.2 release
  • Loading branch information
katieclaiborne7 committed Jun 11, 2024
1 parent ac8f208 commit e23712d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
resource_name,is_primary_key_tested,number_of_tests_on_model
fct_model_6,FALSE,0
model_8,FALSE,0
fct_model_9,FALSE,0
int_model_5.v1,FALSE,0
int_model_5.v2,FALSE,0
int_model_5.v3,FALSE,0
report_1,FALSE,0
report_2,FALSE,0
report_3,FALSE,0
stg_model_1,FALSE,2
stg_model_5,FALSE,0
fct_model_10,FALSE,0
resource_name,is_primary_key_tested,number_of_tests_on_model,number_of_constraints_on_model
fct_model_6,FALSE,0,0
model_8,FALSE,0,0
fct_model_9,FALSE,0,0
int_model_5.v1,FALSE,0,0
int_model_5.v2,FALSE,0,0
int_model_5.v3,FALSE,0,0
report_1,FALSE,0,0
report_2,FALSE,0,0
report_3,FALSE,0,0
stg_model_1,FALSE,2,0
stg_model_5,FALSE,0,0
fct_model_10,FALSE,0,0
3 changes: 3 additions & 0 deletions integration_tests/seeds/tests/tests_seeds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ seeds:
- dbt_utils.equality:
name: equality_fct_missing_primary_key_tests
compare_model: ref('fct_missing_primary_key_tests')
exclude_columns:
- resource_type
- model_type

- name: test_fct_test_coverage
config:
Expand Down

0 comments on commit e23712d

Please sign in to comment.