3 ms·
Conversely, what happens if someone else renames/splits consequence_method? Without this unit test, how would they have known they broke something? Unit tests
by fizx 15y ago
Conversely, what happens if someone else renames/splits consequence_method? Without this unit test, how would they have known they broke something?
Unit tests help refactorability in dynamicly typed languages. Whether this is an argument for static typing is left as an exercise for the reader.