Re:Tips to prevent adoption of your API
by cmckn on Wednesday June 16, 2021 @02:37PM
(#27531911)
It totally depends on the API and how critical of a code path you're writing tests for. For simple GET/POST calls, it's usually pretty easy to do this and I think you get a lot of value out of it. I've used an in-process HTTP server to mock such calls for a unit test, or you can add a layer to the nginx docker image to have a composable mock of the service.
[ Parent
| on HN ]
There are no comments on this comment yet.