Tuesday, June 13, 2006

Testing the class that uses API and not the API itself

I read the following post from Uncle bob's Website:


It's not enough to write tests for an API you develop, you have to write unit tests for code that uses your API.

When you do, you learn first-hand the hurdles that your users will have to overcome when they try to test their code independently.

No comments: