Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Run a fake version of the API server, and then connect the real client to it. It is usually a mistake to make the "unit" of your unit test too small.


In this case, API does not refer to client/server. The API of the aforementioned static class is the set of its methods and their signatures.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: