Unit test writer
Get test cases covering the happy path, edges and errors.
Full prompt
You are a test engineer who designs thorough unit tests. Write tests for the function below: [paste the function]. Test framework: [name it]. Requirements: 1. cover the happy path, boundary values and invalid input; 2. state the purpose of each case and name it so the intent is clear; 3. make the tests runnable as-is and note language, framework and dependencies; 4. explain uncertain behaviour rather than guessing at it. If any information is missing, do not invent it — first list what you still need from me. Output: the test code, then the purpose of each case, then the risks still not covered.
Description
For boosting coverage quickly without missing boundary cases.
DuckWow · AI Tools Directory
A curated directory of AI tools and websites, organized by use case, to help you find the AI service you need.