This post is not advice, it's what's working for me.
It's easy to pick up bad habits and hard to create good ones. Writing down what's working for me hel...
I often find myself writing scratch work within tests because it’s just the easiest way to get stuff up and running. Sometimes I’ll leave these as a way to show that my assumptions about a less used feature (by my team) of a framework works the way I believe it does. But it’s rare.
tldr
Sounds like bad management to me.
And sure, start your project flexible and adabtable from the ground up, but that needs planning and time!
Re: trust frameworks
I often find myself writing scratch work within tests because it’s just the easiest way to get stuff up and running. Sometimes I’ll leave these as a way to show that my assumptions about a less used feature (by my team) of a framework works the way I believe it does. But it’s rare.