mcpField
S
symfony:test-doubles-mocking

symfony:test-doubles-mocking

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

About symfony:test-doubles-mocking

A Symfony testing skill for TDD, functional, and end-to-end coverage, including turning bug reports into failing tests. It emphasizes observable behavior, deterministic fixtures, and stable test suites.

Key features

  1. 01Write behavior-focused failing tests
  2. 02Implement minimal fixes and refactor
  3. 03Cover invalid and unauthorized paths
  4. 04Keep tests isolated and deterministic

Use cases

  1. 01Turning bug reports into regression tests
  2. 02Building stable functional and end-to-end coverage

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dev-toolings/superpowers-symfony --skill symfony:test-doubles-mocking

After installing, type/symfony:test-doubles-mockingin Claude Code to confirm it loaded.

Bundled filesreference.md

Details

From the project README

Test Doubles Mocking (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