Expand --greedy test selection to have a flag in profile.yml file #3997
Labels
enhancement
New feature or request
good_first_issue
Straightforward + self-contained changes, good for new contributors!
Describe the feature
Starting in 0.20.0 test selection was changed to be less greedy meaning that things like relationship tests which depend on more than one model are not selected by default on single model test runs. @joellabes has a great PR to enable a
--greedy
flag in 0.21.0. It would be a great if you could enable this feature the same way you could enable partial parse or other configuration options and make it the default.Describe alternatives you've considered
The alternative, which is the current system, is to just have
--greedy
on each test run. There's nothing explicitly wrong with this but it is tedious.Who will this benefit?
To my mind this will benefit a lot of dbt users; its always better imho to over test rather than undertest and since we have many tests that rely on multiple models, we prefer greedy test selection to less greedy selection. Of course this is a matter of preference though I know from seeing other people asking on slack that others feel similarly.
Are you interested in contributing this feature?
I've never contributed to a public repo actually but I love using dbt so if I could get some help getting started I'd be super excited to contribute!
The text was updated successfully, but these errors were encountered: