Re:Mock your HTTP responses to test your REST API
by Millennium on Friday May 03, 2013 @05:11PM
(#5652671)
Your test code should invoke the real API if it's testing the real API. If you're testing a REST client, on the other hand, then it's best to unit test on a controlled set of requests and responses. Testing on the real API comes later, when you're doing integration.
[ Parent
| on HN ]
There are no comments on this comment yet.