Generate Tests — Testing skill for Claude Code
Generate comprehensive test suite with unit, integration, and edge case coverage.
How to install Generate Tests
Installs to ~/.claude/commands/wtyler2505-pdanet-linux-generate-tests.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/wtyler2505/pdanet-linux/HEAD/.claude/commands/generate-tests.md -o ~/.claude/commands/wtyler2505-pdanet-linux-generate-tests.md Restart Claude Code, or start a new session, for it to be picked up.
What Generate Tests does
allowed-tools: Read, Write, Edit, Bash argument-hint: [file-path] | [component-name] description: Generate comprehensive test suite with unit, integration, and edge case coverage model: claude-sonnet-4-20250514
Generate Tests
Generate comprehensive test suite for: $ARGUMENTS
Current Testing Setup
- Test framework: @package.json or @jest.config.js or @vitest.config.js (detect framework)
- Existing tests: !
find . -name "*.test.*" -o -name "*.spec.*" | head -5 - Test coverage: !`
Alternatives in Testing
- Test Full — Run the full test suite across all tox environments with coverage enabled 1.1k ★
- Test TDD — Run when user calls /test-tdd 957 ★
- Test After Change Diagnostics.V1 — If any program code changes, run unit-tests and follow up on the test-result (fix code if there is an error) 272 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Test Suite Generator
Generate a comprehensive test suite with unit, integration and e2e coverage, plus skipped-test cleanup.
Write Tests
Generate unit and integration tests for existing code. Triggers on "write tests", "add tests", "test this", "t
Dev Check Implementation
Code review — compare implementation against the approved LLD and system manifest for spec adherence, edge cas
Unit Test Expand
Increase test coverage by targeting untested branches and edge cases
Create Test
Creates unit tests, widget tests, and integration tests for Dart/Flutter
Flutter Test
Run Flutter/Dart tests, report failures, and incrementally fix test issues. Covers unit, widget, golden, and i
Related Agents
Testing QA
🧪 Use this agent for test design and execution, bug hunting and reproduction, edge-case and coverage analysis
05 Test Writer
Testing specialist that creates comprehensive unit and integration tests with proper coverage of happy paths,
Agent 2
QA Automation specialist that authors comprehensive unit, integration, and edge-case test suites.