magento-test
CommunityGenerate Magento 2 PHPUnit tests quickly and consistently.
Software Engineering#phpunit#integration-test#unit-test#mocking#generate#magento#testing-conventions
Authorfuran917
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Generating Magento 2 unit and integration tests can be time-consuming and error-prone; this Skill automates creation of PHPUnit tests that follow Magento conventions, reducing boilerplate and ensuring consistent coverage.
Core Features & Use Cases
- Generates unit tests in app/code/Vendor/Module/Test/Unit/ and integration tests in dev/tests/integration/ for Magento 2 modules.
- Enforces Magento conventions: declare(strict_types=1), typed mocks, descriptive test method names, and fixture-based data setup.
- Use Case: When adding a new Model or Plugin, generate comprehensive PHPUnit tests to validate behavior and integration with the object manager.
Quick Start
Describe the class or method you want to test to generate PHPUnit tests that follow Magento conventions.
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: magento-test Download link: https://github.com/furan917/magento-ai-toolkit/archive/main.zip#magento-test 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 223,000+ vetted skills library on demand.