phpunit-unit-test-reviewing

Review Shopware PHPUnit unit tests against conventions and best practices.

41|5|Updated Oct 22, 2025
One-click install
npx skills add https://github.com/shopwareLabs/ai-coding-tools --skill phpunit-unit-test-reviewing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: phpunit-unit-test-reviewing
Source: https://github.com/shopwareLabs/ai-coding-tools/tree/main/plugins/test-writing/skills/phpunit-unit-test-reviewing
Command: npx skills add https://github.com/shopwareLabs/ai-coding-tools --skill phpunit-unit-test-reviewing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviews PHPUnit unit tests for quality and compliance, validating test structure, naming conventions, attribute order, mocking strategy, and behavior-focused testing. Accepts optional method scope for focused reviews. Invoked by agents, not directly by users.

Core Features & Use Cases

  • Enforces test structure, naming conventions, and mocking strategies for Shopware PHPUnit tests.
  • Supports optional method-scoped reviews to focus on specific test methods.
  • Generates structured reports with actionable fixes and MCP workflow guidance for teams.

Quick Start

Provide the path to a unit test file to initiate an automated review.

Frequently Asked Questions about phpunit-unit-test-reviewing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PHPUnit unit test reviews for Shopware projects?

PHPUnit test reviews are automated by providing a test file path to an agent, which then validates test structure, naming conventions, and mocking strategies against Shopware conventions to generate a report of violations.

What PHPUnit test quality checks are enforced for Shopware conventions?

Enforced checks cover test structure, naming conventions, attribute order, mocking strategy, and behavior-focused testing to ensure compliance with Shopware best practices.

Can I review a specific PHPUnit test method instead of the whole file?

Yes, optional method scoping allows you to focus the review on specific PHPUnit test methods rather than evaluating the entire unit test file.

How does MCP integration work with PHPUnit test reviewing?

MCP integration applies MCP-driven rules to evaluate PHPUnit tests, exposing the review results in a machine-readable format for tooling and workflow integration.

What format are PHPUnit test review results provided in?

PHPUnit test review results are exposed in a machine-readable format, providing structured reports with actionable fixes and MCP workflow guidance for team integration.