testing-symfony

Installation
SKILL.md

Stratégie de Tests Symfony 8.1 / PHP 8.5

Versions : Symfony 8.1+ | PHP 8.5 | Pest 5 | PHPUnit 13 | Playwright

Pest 5 (PHP 8.4+, PHPUnit 13) intègre nativement le test navigateur (Playwright) : plus besoin de Panther pour l'E2E. Behat (4.x, maintenu) reste pertinent pour le BDD Gherkin ; sinon préférer des tests Pest descriptifs.

Stack recommandée 2026

Type Outil Usage
Unit/Integration Pest 5 (PHPUnit 13, PHP 8.4+, arch tests) Tests backend Symfony
Browser/E2E Pest 5 Browser Testing (Playwright natif) Tests frontend intégrés
Mutation Infection Qualité des tests (MSI >= 80%)
Static Analysis PHPStan Level 10 Vérification statique

Sources : Pest 5 Upgrade Guide, Infection

Invariants non-négociables

Installs
203
GitHub Stars
107
First Seen
Mar 4, 2026