Unit Test Generator
Generate comprehensive unit tests for code functions
Compatible with:
GPT-4o
Claude 3.5 Sonnet
Claude 3 Opus
493
93
0
Prompt
Generate unit tests for the following function:
```{{language}}
{{code}}
```
Testing Framework: {{framework}}
Provide:
1. Happy path tests
2. Edge case tests
3. Error handling tests
4. Boundary condition tests
5. Mock setup if needed
6. Test naming that describes behavior
Run This Prompt
Execute with AI models and see the results