Serious question: how do you test something without injection?
But yes I agree injecting configuration seems sub-optimal at best.
But yes I agree injecting configuration seems sub-optimal at best.
Also, remember there's a huge swathe of apps where tests are wholly inappropriate and designing everything around DI is annoying for all those cases.
Prototypes, one time apps, internal tasks, the significant proportion of programmers who think testing's a waste of time and/or money, etc. or that only small, key parts should be tested.