mirror of
https://github.com/dbt-labs/dbt-project-evaluator.git
synced 2025-12-18 02:11:27 +00:00
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
version: 2
|
|
|
|
seeds:
|
|
- name: test_fct_undocumented_models
|
|
config:
|
|
tags:
|
|
- docs
|
|
data_tests:
|
|
- dbt_utils.equality:
|
|
name: equality_fct_undocumented_models
|
|
arguments:
|
|
compare_model: ref('fct_undocumented_models')
|
|
|
|
- name: test_fct_documentation_coverage
|
|
config:
|
|
column_types:
|
|
staging_documentation_coverage_pct: &float "{{ 'float' if target.type not in ['athena', 'databricks', 'duckdb','trino', 'spark'] else 'decimal(10,2)' }}"
|
|
intermediate_documentation_coverage_pct: *float
|
|
marts_documentation_coverage_pct: *float
|
|
other_documentation_coverage_pct: *float
|
|
tags:
|
|
- docs
|
|
data_tests:
|
|
- dbt_utils.equality:
|
|
name: equality_fct_documentation_coverage
|
|
arguments:
|
|
compare_model: ref('fct_documentation_coverage')
|
|
compare_columns:
|
|
- total_models
|
|
- documented_models
|
|
- documentation_coverage_pct
|
|
- staging_documentation_coverage_pct
|
|
- intermediate_documentation_coverage_pct
|
|
- marts_documentation_coverage_pct
|
|
- other_documentation_coverage_pct
|
|
|
|
- name: test_fct_undocumented_source_tables
|
|
config:
|
|
tags:
|
|
- docs
|
|
data_tests:
|
|
- dbt_utils.equality:
|
|
name: equality_fct_undocumented_source_tables
|
|
arguments:
|
|
compare_model: ref('fct_undocumented_source_tables')
|
|
|
|
- name: test_fct_undocumented_sources
|
|
config:
|
|
tags:
|
|
- docs
|
|
data_tests:
|
|
- dbt_utils.equality:
|
|
name: equality_fct_undocumented_sources
|
|
arguments:
|
|
compare_model: ref('fct_undocumented_sources')
|