Testing with HttpClient, the automatic way

Avatar of Gary PEGEOT Gary PEGEOT

Writing tests for a service that uses HttpClient is sometimes far from a walk in the park, especially if you do a lot of requests. Let's see if we can do something about it!

In this talk, we will discover ways to greatly improve DX when testing code that interacts with Symfony's HttpClient: from manually defining responses to a fully automated workflow, and a sneak peak at a brand new way to record and replay your responses.

Delivered in English
Room:
The SensioLabs room

Thursday, January 18, 2024 at 14:00 PM – 14:35 PM

Intermediate talk, some familiarity with the topic required.