Writing unit tests for API’s is a waste of time. While developing an API it looks so. Today I need to rewrite some calls and all my tests fail. I need to update all the unit tests. If I did not have to write tests, my code was already finished. But that is a mistake.