phodal / test-gen

Generate comprehensive unit tests for code files

0 views
0 installs

Skill Content

---
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