3 ms·
I don't understand. Code does things, tests verify that it does the things I thought it did. Getting a bit of validation makes me feel good while working. If
by idontwantthis 5y ago
I don't understand.
Code does things, tests verify that it does the things I thought it did. Getting a bit of validation makes me feel good while working.
If it now needs to do completely different things then it needs different tests.
Also, if you are making huge changes to tests whenever you change a single detail, that's an issue with your code, not testing in general.
Type checks are good too. Using a typed language is even better.