phpunit-migration-test-generation
OfficialAuto-generates Shopware migration tests.
AuthorshopwareLabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generates robust PHPUnit migration tests for Shopware migrations, ensuring they validate against PHPStan and PHPUnit.
Core Features & Use Cases
- Analyzes migration classes to determine necessary test patterns (schema changes, data updates, config, and mail-template changes) and generates corresponding tests.
- Validates generated tests with PHPStan and PHPUnit to ensure compatibility with Shopware's migration framework.
- Use when a user asks to generate migration tests, write a migration test, or test a Shopware migration; note: this is for migration tests, not unit tests.
Quick Start
Read the target migration source class, analyze its SQL operations, and generate a corresponding PHPUnit migration test file under tests/migration mirroring the source path.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: phpunit-migration-test-generation Download link: https://github.com/shopwareLabs/ai-coding-tools/archive/main.zip#phpunit-migration-test-generation Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.