Glossary
Test case
On this page
The short answer
- A test case is one input you send to the prompt, usually paired with a description of what a good answer must do. Good test cases come from real requests, known edge cases and past failures. In a single-turn test, a case is one user message.
- This is a glossary entry, not a product claim or a benchmark result.
- All terms · Templates · Guides.
Definition
A test case is one input you send to the prompt, usually paired with a description of what a good answer must do. Good test cases come from real requests, known edge cases and past failures. In a single-turn test, a case is one user message.
In practice
Prefer real wording over polished examples. Add a case every time production surprises you. Litmiq cases have a user input and optional expected behavior.
Related terms
FAQ
Does Litmiq implement “Test case” as a built-in metric?
Only where the definition itself says so. Many terms are industry vocabulary. Litmiq is a single-turn, BYOK prompt tester with an LLM judge, not a full evaluation platform.
Where is the rest of the glossary?
The hub at /glossary lists every term. This page is the standalone entry for Test case.
See the term in a suite
Many glossary entries have a matching template you can run in the browser.
- Free, no signup
- Runs in your browser
- Your OpenAI key, sent only to OpenAI