Skip to main content
BeginnerTechnical AI75 XP

Test Case Generator

Write a prompt that generates comprehensive unit tests for a given function, including happy path, edge cases, and error cases — without any test being redundant.

Context

AI-generated tests often cluster around obvious cases. Your prompt must push for genuine edge-case coverage and avoid duplication.

Hints

0/3 revealed

Each hint costs 10 XP from your reward.

Your Prompt0 words

Scoring Rubric

Role definition+20 XP
Explicit constraints+20 XP
Output format+10 XP
Prompt length & detail+10 XP