I wrote a longread on how do I test code. Everything I gained from 10 years of experience writing code without any testing and 20 years with different kinds of it.
Apparently, until now there was no regression-testing tag on this forum. Duh.
regression-testing