On 07/20/2016 05:28 PM, Lukas Slebodnik wrote:
c) if it is a hard to write unit test than it means that functions is complicated or do a lot of things and should be refactored. => refactored code will be easier to read, to understand and to test.
BTW, same goes with documentation :) If it's hard to write, then code needs refactoring. Oh, and documentation is easier to write than unit tests, we can never write unit tests for everything. Nick _______________________________________________ sssd-devel mailing list [email protected] https://lists.fedorahosted.org/admin/lists/[email protected]
