Hacker News new | ask | show | jobs
by h0l0cube 1774 days ago
The central thesis of this diatribe is that in order to have a 'complete' unit^ test, you need something at least as complicated as the original code:

https://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste...

^ where the 'unit' is basically a function. i.e., to test a function fully, write a test as complicated as the function