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