Hello <#C02CTC89LAX|> <@U02C1PLFA49> <@U04SG1WL0G5...
# community-support
v
Hello #C02CTC89LAX @Or Avidov @Noa Kurman @Ella Katz @Noy Arie Guys I have this sources file with me. Can I add schema_changes test cases directly on name level ? So that, by default all objects will have schema_changes test cases
Copy code
sources:
  - name: abc
    database: db
    schema: schema
    tables:
      - name: tb_1
      - name: tb_2
      - name: tb_3
e
Hi @vinit, If I understand correctly, you want to configure in the file-level, that all the sources in the file, including those added in the future will automatically have schema changes test? Unfortunately this is a dbt setting and it isn't possible. I did find some interesting workarounds in the dbt community, you can try to look there. They were mainly regarding automatically generating the yml files using code, and in this way also auto-adding the tests. here's one- https://getdbt.slack.com/archives/CBSQTAPLG/p1645186536621039
v
Hello @Ella Katz Thanks for your answer. Surprised to see you're working on 31 dec. Happy New Year 🎆🎆 Once again thank you
e
Happy new year!