Tests in a Symfony application

Avatar of Alexandre Salomé Alexandre Salomé

Writing tests for a project is the guarantee for development efficiency and the software delivery chain. In Symfony, we use PHPUnit to do so, and we have many tools in the framework to achieve this goal.

Using the documentation, we quickly ask ourselves: how can I have a maintainable test suite? Should I write a unit test or a functional test? How to handle dependencies to third services? How to test the mail sending? How to organize my test data?

At this conference, I will address those questions and provide an exhaustive tour of the Symfony features you can use in your tests.

Delivered in English
The SensioLabs room

Friday, June 16, 2023 at 09:50 AM – 10:25 AM

Introductory talk, no prior knowledge needed.