symfonyfunctional-tests

MakFly's avatarfrom MakFly

Write functional tests for Symfony controllers and HTTP endpoints using WebTestCase, BrowserKit, and test clients

⭐26stars🔀4forks📁View on GitHub🕐Updated Dec 30, 2025

When & Why to Use This Skill

This Claude skill automates the generation of functional tests for Symfony applications, specifically targeting controllers and HTTP endpoints. By leveraging Symfony's native testing tools like WebTestCase and BrowserKit, it helps developers ensure application reliability through simulated HTTP requests and response validation.

Use Cases

  • Generating automated functional test cases for Symfony controllers to verify correct HTTP status codes and response headers.
  • Simulating user interactions and form submissions using BrowserKit to test end-to-end web workflows without a manual browser.
  • Creating regression test suites for API endpoints to ensure that backend changes do not break existing contract requirements.
  • Streamlining the QA process by providing standardized test templates that follow Symfony best practices and complexity tiers.
namesymfony:functional-tests
descriptionUse when symfony functional tests

symfony:functional-tests (Micro)

Use when

  • Use when symfony functional tests

Rules

  • Keep changes minimal and focused
  • Ask before running servers/builds/tests
  • Load reference/examples only on explicit request

References

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