What test cases let you do
A test case is how you tell Coval what to put your agent through. A good set of them lets you:- Cover the scenarios that matter — happy paths, edge cases, and known failure modes, one test case each.
- Catch regressions — re-run the same test set after every change to confirm nothing broke.
- Test across user types — run the same test set with a different persona (one per run) to see how your agent holds up with different kinds of users.
Create a test set
Generate test cases with AI, build them manually, or upload a CSV/Excel file.
Input types
Scenario, transcript, audio, script, or image — how tightly the simulated user follows your input.
Expected behavior & attributes
Define how the agent should respond and attach per-test-case data for evaluation.
API
Create, list, update, and delete test sets programmatically.
Test case inputs
The Simulation Input is the heart of a test case: it becomes the simulated user’s objective for the run. The input type determines how tightly the simulated user follows it — from improvising toward a high-level goal to delivering exact lines:| Type | What it is | Simulated user behavior |
|---|---|---|
| Scenario | High-level intent | Improvises freely toward the goal |
| Transcript | A reference conversation | Adapts as needed to match the flow |
| Script | Exact turns | Follows them precisely, word for word |
Recommended test set types
For comprehensive testing, create multiple types of test sets:
- Regression Set: Contains “happy path” scenarios representing typical successful interactions
- Adversarial Set: Contains edge cases and scenarios designed to test your agent’s limits and handling of unusual requests