Unit Test Generator
Generate comprehensive unit tests with happy paths, edge cases, and error handling for your functions and classes.
Usage
Share the code you want to test and this skill will generate thorough unit tests.
Examples
- "Generate unit tests for this user validation function"
- "Write tests for my shopping cart class methods"
- "Create test cases for this date parsing utility"
Guidelines
- Test one behavior per test case with descriptive names
- Cover happy paths, edge cases, and error scenarios
- Use proper mocking for external dependencies
- Avoid testing implementation details, focus on behavior
- Keep tests independent so they can run in any order