Print

Print


I'm trying to mock HTTP requests for a code library I'm working on by using
the PHP-VCR library.

https://github.com/php-vcr/php-vcr

I'm having issues getting the tests to run against the mocks and was
wondering if anyone else has experience using this library. I think it is a
matching issue but can't find the error

Alternatively does anyone have suggestions for how to best mock HTTP
requests? I'm looking for something like ruby's webmock. I've tried using
the MockPlugin within Guzzle but it doesn't let test the effectively what I
need to test.

Karen