From superpowers-symfony
Write functional tests for Symfony controllers and HTTP endpoints using WebTestCase, getContainer, loginUser, and DAMA rollback. Follows RED/GREEN/REFACTOR workflow with guardrails for deterministic fixtures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-symfony:functional-testsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Building regression-safe behavior with TDD/functional/e2e tests.
reference.mddocs/complexity-tiers.mdnpx claudepluginhub makfly/superpowers-symfony --plugin superpowers-symfonyGuides RED-GREEN-REFACTOR with PHPUnit 10/11 for Symfony; uses KernelTestCase, WebTestCase, attributes (#[Test]/#[DataProvider]), and Foundry.
Writes focused Laravel controller tests using HTTP assertions; promotes extracting logic to Actions/Services for unit tests and Form Requests for validation.
Generates test scaffolding for untested PHP and JavaScript code. Supports unit, integration, e2e, and data tests with framework-specific guidance (PHPUnit, Jest, Cypress).