TestingGeneric
Generate Test Suite
Create comprehensive tests for a function
Prompt
Write tests for this function:
[paste function]
Cover:
1. Happy path — normal expected inputs
2. Edge cases — empty, null, boundary values
3. Error cases — invalid inputs, failure modes
4. Integration points — if it calls external services, mock them
Use [test framework]. Each test should have a descriptive name that explains the scenario.