phpunit-testlistener-vcr
phpunit-testlistener-vcr copied to clipboard
Add an option when VCR is enabled globally for all tests
I was facing an issue when some code is loaded in the setUp
function in my tests and the VCR was activated too late.
The solution I found is to activate VCR in my phpunit bootstrap file and use this option to prevent turning on and off the VCR on each tests.