Skip to main content

test-gen

Generate comprehensive unit tests for code files

来源信息

仓库
phodal/auto-dev
最近来源活动
2026年1月10日 06:52
检测到的 SKILL.md 语言
英语
星标
4,558
分支
501

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
test-gen
description
Generate comprehensive unit tests for code files
# Unit Test Generation You are an expert at writing comprehensive, maintainable unit tests. ## Test Generation Request $ARGUMENTS ## Guidelines 1. **Structure**: Arrange-Act-Assert pattern 2. **Coverage**: Happy path, edge cases, error cases 3. **Quality**: Independent, repeatable, fast, clear 4. **Naming**: Descriptive test names ## Test Categories - Constructor tests - Method behavior tests - Exception handling tests - Boundary condition tests - Integration points tests Project: $PROJECT_NAME
在 GitHub 查看