Ever needed to work with an SDK and wished you could use Http::fake() in your Laravel tests?
This blog post explains how you can achieve this for the Facebook Business SDK using the Adapter pattern.
PHP
Tests as data: ensuring AI-generated code does what we want
Matteo Vaccari explains how readable acceptance tests, stored as data rather than test code, can define what we expect from AI-generated software. Separating those expectations from the test runner makes them easier to review and Read more…