skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
thebeardedbearsas/bear-craft207 installs

testing-symfony

Stratégie de Tests Symfony 8.1 / PHP 8.5. Use when writing tests, reviewing test coverage, or setting up testing.

How do I install this agent skill?

npx skills add https://github.com/thebeardedbearsas/bear-craft --skill testing-symfony
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides a comprehensive testing strategy and reference guide for Symfony 8.1 and PHP 8.5 applications. It includes configurations and examples for industry-standard tools such as Pest 5, PHPUnit 13, Playwright, Infection, and PHPStan. No security issues were detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

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

TypeOutilUsage
Unit/IntegrationPest 5 (PHPUnit 13, PHP 8.4+, arch tests)Tests backend Symfony
Browser/E2EPest 5 Browser Testing (Playwright natif)Tests frontend intégrés
MutationInfectionQualité des tests (MSI >= 80%)
Static AnalysisPHPStan Level 10Vérification statique

Sources : Pest 5 Upgrade Guide, Infection

Invariants non-négociables

  • Couverture >= 80% (line + branch)
  • Mutation Score Indicator (MSI) >= 80% via Infection
  • PHPStan Level 10 — aucun mixed non justifié
  • Arch tests : domain indépendant de l'infrastructure
  • Fixtures via doctrine/data-fixtures — pas de données hard-codées
  • Pattern AAA (Arrange-Act-Assert) dans chaque test
  • Tests browser dans tests/Browser/, unit dans tests/Unit/, feature dans tests/Feature/

Checklist par type

TypeVérification
UnitIsolation totale, pas de DB, mocks Prophecy/Mockery
IntegrationKernelTestCase, fixtures chargées, DB de test
BrowserPlaywright natif Pest 5, assertions sur l'UI réelle
Archpest()->arch() — namespaces, dépendances, interdictions
Mutationvendor/bin/infection --threads=4, MSI >= 80

Détails complets, exemples de code, configs et checklists : voir REFERENCE.md

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/thebeardedbearsas/bear-craft/testing-symfony">View testing-symfony on skillZs</a>