From Betamax to VCR: harden your API integration testing - James Seconde - PHP UK 2022
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.
More from this event
See all 19 talks →
Never stop learning, how curiosity and cross pollination drives innovation-Pauline Vos - PHP UK 2022
28:03
What's New in PHP 8.1 - Derick Rethans - PHP UK 2022
47:15
Embrace the Pitfalls (Our stop start journey to Change) - Stacy Cashmore - PHP UK 2022
49:57
Container-native without k8s: PHP in ECS on AWS - Ian Littman - PHP UK 2022
1:04:57