Fabrizio Gargiulo
Fabrizio Gargiulo
Hi @lesstif, I tried different approaches and now I understand why (maybe) people are discouraged from testing: curl it's not easy to mock. Having an HTTP client would be much...
First of all thanks to both @samdark @terales for the answers. > @doppiogancio you can write to a temporary file location and then stream the contents into your desired location....
I am just a couple of years late, I solved these problems building a Guzzle client that uses a router to dispatch mocked routes/responses. https://packagist.org/packages/doppiogancio/mocked-client @rrajkomar let me know if...