In this episode, learners dive into testing a Sylius application using the PHPUnit framework — a core tool for PHP development. The lesson covers the three main types of tests: unit tests, integration tests, and API tests, showing how to structure, configure, and run them within a Sylius project.
The episode includes:
We also walk through the phpunit.xml configuration, setting up a test database schema with Doctrine, and accessing coverage reports via the browser. This is a hands-on introduction to backend and API testing in Sylius.