mcpField
S
symfony:tdd-with-phpunit

symfony:tdd-with-phpunit

github.com/dev-toolingsTesting & quality227634 installsUpdated 3w ago
Repository

About symfony:tdd-with-phpunit

A Symfony testing skill for developers using PHPUnit to turn desired behavior and bug reports into regression-safe tests. It structures work as a RED/GREEN/REFACTOR cycle and emphasizes stable, observable checks.

Key features

  1. 01RED/GREEN/REFACTOR testing cycle
  2. 02Test boundary and error paths
  3. 03Deterministic fixtures and builders
  4. 04Isolated, CI-stable tests
  5. 05Report commands and confidence

Use cases

  1. 01Turn a bug report into a failing test
  2. 02Add regression coverage for new behavior
  3. 03Validate unauthorized and not-found paths

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dev-toolings/superpowers-symfony --skill symfony:tdd-with-phpunit

After installing, type/symfony:tdd-with-phpunitin Claude Code to confirm it loaded.

Bundled filesreference.md

Details

From the project README

Tdd With Phpunit (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

Comments

Markdown supported