Re:99% code coverage (2017)
by humanrebar on Wednesday January 16, 2019 @08:51AM
(#18920786)
> 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.
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.