Quality Check
Test Cases and Test Runs
Overview, creation, and actions
Tip
The quality assurance of AI functions is based on test cases and test runs. Especially after systemic changes or adjustments to AI agents, a thorough verification of functionality is essential. Test runs provide structured validation, detect possible errors early, and ensure consistent performance evaluation of the AI agents.
Test Cases
A test case describes a single scenario to check the performance of an AI agent. By adding specific tickets, different use cases can be tested to ensure that the AI agent reacts as expected.
Creation:
-
In the Test suites tab, open the sidebar for the desired AI agent.
-
Add the tickets intended for the test via the ticket ID.
-
If there is not yet a specific ticket ID:
-
In the filter of the ticket overview, select Issue.
-
Display suitable tickets and add them to the test run via the ID.
-
-
Test cases can be removed via the sidebar if necessary.
Chat and voice test cases
The Chat test cases and Voice test cases tabs test conversations: a simulated customer talks to the bot. New test cases are created via Add test case with these fields:
- Label: name of the test case
- AI Agents for test: which AI agents are tested
- Customer simulator prompt: who the customer is and what they want
- Objective (optional), Context (optional) and Constraints (optional): further guidelines for the conversation
- Call direction (voice test cases only): Incoming – the customer calls – or Outgoing – the bot calls
Checks defines what the test is measured against. Run selected starts the marked test cases.
Test Runs
A test run executes a defined number of test cases to evaluate the AI functionality.
Info
Test runs do not cause any write actions.
Test Runs Overview
The overview shows all conducted test runs with the following details:
-
Run ID: Unique identifier for the test run
-
AI Agent: Name of the tested AI agent
-
Start Date: Time of the test run
-
Status: Displays the progress (Processing, Completed or Failed)
-
Tickets: Number of tickets used in the test run
-
Result: Percentual evaluation of the test results
Test runs are started in the Test suites tab via the Play button next to the number of email, chat or voice test cases of an AI agent. Any number of test runs can run in parallel.
A running test run can be stopped with Cancel test run and started again with Rerun. Refresh loads the current state.