3 ms·
A comprehensive unit test suite is the best documentation your code can have :)
by tcbasche 6y ago
A comprehensive unit test suite is the best documentation your code can have :)
- qppo 6y agoOnly if your testing framework allows those tests to be cleanly expressed and readable. Most of the tests I look at are inscrutable and the majority are for handling corner cases, with maybe a handful for common cases. The best documentation your code can have is the docs written by paid applications engineers