Writing Good Tests
Choose a test type based on the result you need, then give the agent clear instructions and enough context to act. Create and manage all three types in the Repository.
Choose a Test Type
| Type | Use for | Define |
|---|---|---|
| Verification | Smoke tests, regression suites, and repeatable checks | Ordered steps and individual expected results |
| Discovery | Exploring features and finding bugs | An optional exploration scope |
| Task | Game sessions, reports, documentation, and workflow automation | Task instructions and an optional personality |
Write, Run, Refine
- Define the scenario and its endpoint. For verification, list the observable checks first and group them into steps.
- Add hints for navigation or recovery, and knowledge files for detailed reference material.
- Run the test and inspect its actions, screenshots, and results in History.
- Refine unclear instructions and repeat under the same configuration. See Best Practices.
Use Shared Steps for reusable verification sequences and Test Plans to run groups of tests. For several input combinations, add template variants to the plan.
Last updated on