generating-unit-tests

Test automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions.

Content Preview
---
name: generating-unit-tests
description: |
  Test 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-*)
version: 1.0.0
author: Jeremy Longshore <[email protected]>
license: MIT
compatible-wit
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/generating-unit-tests.md \
  https://raw.githubusercontent.com/jeremylongshore/claude-code-plugins-plus-skills/main/plugins/testing/unit-test-generator/skills/generating-unit-tests/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills

Then reference at plugins/testing/unit-test-generator/skills/generating-unit-tests/SKILL.md

Related Skills