dbt-meta-testing icon indicating copy to clipboard operation
dbt-meta-testing copied to clipboard

Support Required Tests on Sources as Well as Models

Open codigo-ergo-sum opened this issue 1 year ago • 0 comments

I very much appreciate the help that this package provides. My question - is there a reason to not also support required tests on sources and seeds? I'd like to define required tests for those too. Particularly sources.

Like this:

  my_project:
    source_yml:
      fivetran_oba_public:
        +required_tests:
          "^unique$": 1
          "^not_null$": 1
          "at_least_one$": 1
      fivetran_oba_secure:
        +required_tests:
          "^unique$": 1
          "^not_null$": 1
          "at_least_one$": 1

codigo-ergo-sum avatar May 22 '23 18:05 codigo-ergo-sum