3 ms·
> The purpose of unit tests is to lock down the project's source code once it's essentially complete Good unit tests (like doctests) also provide superior docu
by humanrebar 8y ago
> The purpose of unit tests is to lock down the project's source code once it's essentially complete
Good unit tests (like doctests) also provide superior documentation and examples.
Sure, worrying about documentation too soon is bad, but sometimes when doing early research, getting details clarified and written down is paramount and tests, maybe even unit tests, are a nice tool to have when you want it.