Automated tests
Let a simulated customer talk to your avatar and check the result against your criteria.
Testing by hand is useful, but it is slow and hard to repeat. Automated Tests lets you describe a test once, as a mission, and run it as many times as you need. A simulated customer talks to your avatar, and each answer is checked against your success criteria.
Open https://gestao.tolky.to/tests.
Create a mission
Click New Mission and fill in:
| Field | What to write | Example |
|---|---|---|
| Test objective | What the test checks. | Validate whether the avatar confirms customer data before suggesting a solution. |
| Success criteria (one per line) | Concrete, observable behaviors. Each line is checked separately. | Confirms the customer name before giving guidance. |
| Conversation tone | How the simulated customer behaves. | Rushed and objective customer. |
| Max iterations | The maximum number of exchanges in the conversation. | 6 |
Click Create mission.
"Answers well" cannot be checked. "Gives the return deadline in days" can. Use the test questions from your plan as a starting point.
Run a test
Select the mission and click Run test. While it runs, the screen shows the current iteration, such as "Iteration 2 of 6".
Each run appears under Runs with a status:
| Status | Meaning |
|---|---|
| Pending / Running | The test is in progress. |
| APPROVED | Every criterion passed. |
| REPROVED | At least one criterion did not pass. |
| Failed | The test could not finish. |
Read the result
- Turn Timeline shows the conversation turn by turn: the Simulated user message and the Avatar response.
- View final report opens the Final report, with the Final status and Final score.
- When a test is reproved, the report can include a Prompt improvement proposal with a summary, practical actions and evidence from the conversation.
A good routine
Build a set
Run before every change goes live
Fix and repeat
AdvancedTechnical details
How a run works:
- In each iteration, a language model plays the customer. It writes the next message based on the objective, the tone, the criteria and the conversation so far.
- The message is sent to the avatar, and the answer is recorded.
- Every criterion is evaluated after each turn. The run stops early when all criteria pass, or when it reaches Max iterations.
The Final score is the percentage of criteria that passed. A run is APPROVED only at 100%.
For each turn, the timeline can be expanded to inspect what the avatar used to answer: Instructions, Requests, Logs, AI Analysis, Time and Message. This helps you find whether a wrong answer came from the identity, from a content block or from an automation.