From Betamax to VCR: harden your API integration testing - James Seconde - PHP UK 2022

45:34 · 16 Feb 2022 – 18 Feb 2022 · YouTube

About this talk

This talk explores the challenges of inheriting a complete, widely used open source PHP API library that includes a full test suite. The speaker discusses the issues stemming from the use of mocked JSON responses for test assertions, highlighting the potential for false positives when the underlying API changes without proper maintenance. The session also considers the clever use of git submodules for standardized responses applicable across multiple programming languages, while addressing the need for ongoing maintenance across engineering departments.

From event

PHP UK Conference 2022

16 Feb 2022 – 18 Feb 2022

All event videos
Back to Watch