From Betamax to VCR: harden your API integration testing with FOSS - James Seconde
Integration tests with APIs are notoriously difficult. Do you hit production? Do you mock the JSON responses and update them each time your endpoints change? There is a solid solution that can solve these problems in my language of choice: PHP. The Open Source library I found is inspired by another OSS library written in Ruby. In this talk, I'll talk through the library, the power of OSS, and how you can write super-fast API integrations using the power of these tools. FOSS Libraries included in this talk are: PHP-VCR: https://github.com/php-vcr/php-vcr VCR (Ruby): https://github.com/vcr/vcr PEST: https://github.com/pestphp/pest https://eventyay.com/e/6b901f56/session/7694
Integration tests with APIs are notoriously difficult. Do you hit production? Do you mock the JSON responses and update them each time your endpoints change? There is a solid solution that can solve these problems in my language of choice: PHP. The Open Source library I found is inspired by another OSS library written in Ruby. In this talk, I'll talk through the library, the power of OSS, and how you can write super-fast API integrations using the power of these tools. FOSS Libraries included in this talk are: PHP-VCR: https://github.com/php-vcr/php-vcr VCR (Ruby): https://github.com/vcr/vcr PEST: https://github.com/pestphp/pest https://eventyay.com/e/6b901f56/session/7694