repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

pi/agent/prompts/test.md

Raw

description: Generate comprehensive tests argument-hint: ""

Generate tests:

Target: $ARGUMENTS

  1. Unit Tests - Happy path, edge cases, error cases
  2. Integration - If interacts with external systems
  3. Snapshot - Use snapshot testing for complex output

Aim for 100% coverage on critical paths.

Markdown source
File outline
---
description: Generate comprehensive tests
argument-hint: "<file-or-function>"
---

Generate tests:

**Target**: $ARGUMENTS

1. **Unit Tests** - Happy path, edge cases, error cases
2. **Integration** - If interacts with external systems
3. **Snapshot** - Use snapshot testing for complex output

Aim for 100% coverage on critical paths.