symfony:test-doubles-mocking

Test Doubles Mocking (Symfony)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "symfony:test-doubles-mocking" with this command: npx skills add makfly/superpowers-symfony/makfly-superpowers-symfony-symfony-test-doubles-mocking

Test Doubles Mocking (Symfony)

Use when

  • Building regression-safe behavior with TDD/functional/e2e tests.

  • Converting bug reports into executable failing tests.

Default workflow

  • Write failing test for target behavior and one boundary case.

  • Implement minimal code to pass.

  • Refactor while preserving green suite.

  • 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

symfony:quality-checks

No summary provided by upstream source.

Repository SourceNeeds Review
211-makfly
General

symfony:controller-cleanup

No summary provided by upstream source.

Repository SourceNeeds Review
170-makfly
General

symfony:twig-components

No summary provided by upstream source.

Repository SourceNeeds Review
156-makfly
General

symfony:tdd-with-phpunit

No summary provided by upstream source.

Repository SourceNeeds Review
153-makfly