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

You don't want to test external APIs. You probably do want to test how your application behaves in response to using the APIs. One way is to mock the API calls with canned responses. Another way is to use a tool like VCR (https://github.com/myronmarston/vcr) to record and playback API interactions.


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

Search: