{"repo":"tnightengale/dbt-meta-testing","free":true,"listed":false,"github":"https://github.com/tnightengale/dbt-meta-testing","clone":"git clone https://github.com/tnightengale/dbt-meta-testing.git","description":"A dbt SQL package for ensuring documentation and test coverage, with granular control.","language":"SQL","stars":131,"topics":["dbt","dbt-artifacts","dbt-fundamentals","dbt-macros","dbt-packages","dbt-tests","testing"],"license":"GPL-3.0","category":"data-pipelines","readme_excerpt":"dbt Meta Testing This dbt package contains macros to assert test and documentation coverage from dbt project.yml configuration settings. Table of Contents - dbt Meta Testing - Table of Contents - Install - Configurations - Required Tests - Required Docs - Usage - required\\ tests (source) - required\\ docs (source) - Contributions - Testing - Verified Data Warehouses Install Include in packages.yml : For latest release, see https://github.com/tnightengale/dbt-meta-testing/releases. Configurations This package features two meta configs that can be applied to a dbt project: 1. required tests 2. required docs The recommended approach supported both in dbt Core and Fusion is to store the config in the meta key. Storing the configs outside of meta like it was done before version 0.4.0 is still supported in dbt Core, but not Fusion. Read the dbt documentation here to learn more about model configurations in dbt. Required Tests To require test coverage, define the required tests configuration on a model path in dbt project.yml : The required tests config must be None or a dict with str keys and int values. YAML dictionaries are accepted. All the regular dbt configuration hierarchy rules apply. For example, individual model configs will override configs from the dbt project.yml : New in Version 0.3.3 The keys of the config are evaluated against both data and schema tests (including any custom tests) using the re.fullmatch function. Therefore, any test restriction which can be expressed","default_branch":null,"files":null,"tree":[],"storefront":"/r/tnightengale","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tnightengale/dbt-meta-testing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}