Agent Skills: Tdd With Pest (Symfony)

Apply RED-GREEN-REFACTOR with Pest v4 (PHP 8.3+) for Symfony via the PHPUnit bridge; Foundry factories, WebTestCase, verify failures first

UncategorizedID: makfly/superpowers-symfony/tdd-with-pest

Install this agent skill to your local

pnpm dlx add-skill https://github.com/dev-toolings/superpowers-symfony/tree/HEAD/content/skills/tdd-with-pest

Skill Files

Browse the full folder contents for tdd-with-pest.

Download Skill

Loading file tree…

content/skills/tdd-with-pest/SKILL.md

Skill Metadata

Name
tdd-with-pest
Description
Apply RED-GREEN-REFACTOR with Pest v4 (PHP 8.3+) for Symfony via the PHPUnit bridge; Foundry factories, WebTestCase, verify failures first

Tdd With Pest (Symfony)

Use when

  • Building regression-safe behavior with TDD/functional/e2e tests.
  • Converting bug reports into executable failing tests.

Default workflow

  1. Write failing test for target behavior and one boundary case.
  2. Implement minimal code to pass.
  3. Refactor while preserving green suite.
  4. Broaden coverage for invalid/unauthorized/not-found paths.

Guardrails

  • Prefer deterministic fixtures/builders.
  • Assert observable behavior, not internal implementation.
  • Keep tests isolated and stable in CI.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • RED/GREEN/REFACTOR trace.
  • Test files changed and executed commands.
  • Coverage and confidence notes.

References

  • reference.md
  • docs/complexity-tiers.md