Unit Test Generation
Generates unit tests for a single pasted function in whatever test framework you name, without needing a full diff or surrounding file for context. Covers three buckets specifically: normal expected inputs, edge cases, and invalid inputs, written in your framework's syntax so the output can be dropped straight into a test file. A good default when you just have one function and need a quick, focused test pass.
Generate unit tests for the following function: {{function}} Include tests for: 1. Normal expected inputs 2. Edge cases 3. Invalid inputs Use {{test_framework}} syntax.