Do you think the unit test is a good way to show how your fellow programmers use the API?
I was listening and now I know that unit testing is not suitable in all situations (if you go for 100% code-coverage then it can take time for you) I agree with it Because I have suffered from "OCD code coverage disorder"), and now my methods have improved.
However, for more information about this topic, I would like to know if Unit Testing is a good way to bring a new programmer who is unfamiliar with project APIs. (It seems easy to just write the document ... though I like it when I have a document later ...)
I think the Unit Testing API is a great way to document. It is essential that there is no good comment or API docs in place but it is a very practical way to help people incorporate into your code nitri gritty. Also, good unit testing promotes good design, hence As a result, your code will be easy to understand as a result.
Comments
Post a Comment