Snippets Collections
models:
  advanced_testing:
    # checks for every model under models directory should have unique and not_null test
    +required_tests: {"unique.*|not_null": 2}
    # checks for 'exclude' directory models should have unique and not_null test
    exclude:
      +required_tests: {"unique.*|not_null": 2}
	# checks for 'marts' directory models should have relationship test
    marts:
      +required_tests: {'relationship.*': 1}
star

Mon May 08 2023 05:12:28 GMT+0000 (Coordinated Universal Time)

#dbt #test #global

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension