3 ms·
Tests and behavior should be defined before the code. I recommend you comment out all code, write the tests and then un-comment the code line by line. This no
by ericHosick 13y ago
Tests and behavior should be defined before the code.
I recommend you comment out all code, write the tests and then un-comment the code line by line.
This not only tests the code, but tests the tests and assures that you are covering the edge cases the code contains already.
- kennyledet 13y agoUpdate: Unit tests are now a convention.