“Automated tests are like pouring concrete on code.” I disagree
“Automated tests are like pouring concrete on code.”
I disagree.
Code is malleable. Concrete isn’t.
To avoid tests feeling like "pouring concrete on code":
1. Don't code until the requirements are clear.
2. Avoid requiring 100% code coverage.
3. Test the UX, not implementation details.
I’d like to change number one:
Avoid writing a bunch of tests when you’re unsure if you’ve even built the right thing yet.