testing

generating-unit-tests

1.0k starsUpdated 2025-12-28
Compatible with:claudecodex

描述

Automatically generate comprehensive unit tests from source code.

如何使用

  1. 访问 GitHub 仓库获取 SKILL.md 文件
  2. 将文件复制到您的项目根目录或 .cursor/rules 目录
  3. 重启您的 AI 助手或编辑器以应用新技能

完整技能说明

name

generating-unit-tests

version

1.0.0

description

Automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".

allowed-tools

Read, Write, Edit, Grep, Glob, Bash(test:unit-*)

license

MIT

author

Jeremy Longshore <jeremy@intentsolutions.io>

Tags

#generating#unit#tests