测试Official

test-doubles-generator

This skill uses the test-doubles-generator plugin to automatically create mocks, stubs, spies, and fakes for unit testing. It analyzes dependencies in the code and generates appropriate test doubles based on the chosen testing framework, such as Jest, Sinon, or others. Use this skill when you need to generate test doubles, mocks, stubs, spies, or fakes to isolate units of code during testing. Trigger this skill by requesting test double generation or using the `/gen-doubles` or `/gd` command.

#testing#Generating Test Doubles#claude-skills#ai-assistant#automation
Version

1.0.0

Files

1 files

Size

2.89 KB

Updated

10/20/2025

Installation

Use Claude Code CLI to install this skill:

/skills/install/test-doubles-generator

Skill Information

Author

Anthropic

License

MIT

Type

👥 Community

Category

测试

文件浏览器

文件

SKILL.md2.9KB

选择一个文件查看内容

Claude Skills Hub - free download Claude Skills - test-doubles-generator