# Test Gen

> Generate comprehensive unit tests for code files

- Skill: `phodal/test-gen` (Agent Skill)
- Install (CLI): `npx skillmds@latest add phodal/test-gen`
- Raw SKILL.md: https://api.skillmd.com/api/skills/phodal/test-gen/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: phodal (https://skillmd.com/u/phodal)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/phodal/test-gen

---


# 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

