How to Test
matklad.github.io
matklad.github.io
I don't know that many who enjoy writing tests.
But it's what keeps my code from blowing up in my face. It's boring and tedious but it lets me make changes without making multiple new bugs for every single change.
The more I add automated tests, the better things get. The more I refactor without tests... The worse things get.