php-test-generate

Community

Generate PHP tests with hyperf/testing patterns.

Authornashgao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of comprehensive PHP test cases, adhering to hyperf/testing patterns, thereby reducing manual testing effort and ensuring code quality.

Core Features & Use Cases

  • Automated Test Generation: Creates unit, integration, and feature tests for PHP classes, services, repositories, and controllers.
  • Pattern Adherence: Generates tests that follow established hyperf/testing conventions, including coroutine support and dependency injection.
  • Use Case: When developing a new service class in a Hyperf project, use this Skill to quickly generate a robust unit test suite, including mocking dependencies and testing various scenarios.

Quick Start

Use the php-test-generate skill to create a unit test for the 'App\Service\UserService' class.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: php-test-generate
Download link: https://github.com/nashgao/mqtt-client/archive/main.zip#php-test-generate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.