2 ms·
I was about the point this out! At the end of the day, unit testing is just contract assertions, and contract assertions are usually conditions! But actually th
by stevefan1999 8y ago
I was about the point this out!
At the end of the day, unit testing is just contract assertions, and contract assertions are usually conditions! But actually this isn't really the crux of unit testing, the value of unit testing is to iterate and refactor your program for a more predictable and bug-free application, not just writing a bunch of conditions.