Explain it in 60 seconds
Naming tests well
Backend Engineering · Testing · Beginner
How should tests be named?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Describe behaviour and expected outcome.
- e.g. "rejects order when stock is insufficient".
- Readable as specification.
- Avoid test1, testMethod.
- Failure message explains problem.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.