test-generator
Installation
SKILL.md
Test Generator
Overview
This skill helps generate comprehensive test cases for various types of code. It creates unit tests, integration tests, and edge case tests that follow best practices and testing frameworks.
Instructions
When generating tests, follow these steps:
- Analyze the Code: Understand what the code does, its inputs, outputs, and dependencies
- Identify Test Cases: Determine happy path, edge cases, and error scenarios
- Choose Framework: Use the appropriate testing framework for the language
- Write Tests: Create clear, maintainable test cases with descriptive names
- Add Assertions: Include proper assertions and expected outcomes
- Document: Add comments for complex test scenarios