Generate a Test Script
The comprehensive unit produces test scenarios.
Write unit tests using {test_framework} for the following function. You cover normal situations, limit situations (edge case) and error situations:
```{dil}
{fonksiyon}
```
Replace the bracketed fields with your own goal, audience and context.
Paste the prompt into the recommended tool; treat the first output as a draft.
Point out gaps, add examples, and define the output format you want more precisely.
Recommended tool: GitHub Copilot
We recommend using this prompt with GitHub Copilot.
GitHub Copilot Page →