Quality Test Suite
Ship the change.
Know what broke.
Write the conversation in plain words, say what has to be true, and run it against the real bot. Rules are checked by code, quality is scored by a judge you choose, and every result says why.
What it is
Tests is where you write down what your agent has to get right, run it against the real bot, and see why anything failed. A test is a short scripted conversation, what a good answer looks like, and rules the bot must never break.
Use it before you change a prompt, a tool or the knowledge base, and after something went wrong in a real conversation. It replaces reading a handful of chats by hand and hoping the change didn’t break the rest.
Runs start when you ask: by hand, on a schedule, or from your pipeline. Rylvo doesn’t run them by itself when you edit something, and a release only waits on them when you switch that on.
- Where it lives
- Improve, then Tests, in the dashboard menu. Its own menu has Overview, Test cases, Test sets, Runs, Scoring and Release gate.
- Who uses it
- Whoever changes the agent. Operators, admins and owners write and run tests; viewers can read them.
- What it works with
- Edge Cases and Traces turn a reply into a test, Automation runs the suite on a schedule, and the release gate reads the runs before a release reaches Production.
- Where it runs
- In Test, against the Test version of each bot. Production shows the tests read-only. Tests are not part of a release.
- Plans
- Every plan, with more tests and runs on higher plans. New workspaces start with a 7-day Pro trial.
- 10
- kinds of test, from happy path to PII check
- 11
- exact checks beyond the phrases
- 5
- dimensions the judge scores, all of them editable
- 14
- kinds of red-team attack, in Edge Cases
How it works
One failure, on the real dashboard.
This is Tests as it runs in a workspace. The sample is a store's support bot in Test: a refund it gave without a person becomes a test, the test fails, and the release waits.
01 / 04Write a test
Turn what went wrong into a test.
Support Bot refunded $312 without waiting for a person. "Add as a test" on that edge case opens a test already filled in from the conversation. Mark it critical, add a phrase it must never use, and a check that it never calls issue_refund. Now it has to get this right on every run.- From an edge case, a trace, a file, or written from scratch
- The conversation is replayed, one customer message at a time
- Rules fail the test on their own, whatever the score
02 / 04Run report
Run it, and read why it failed.
A run is a real conversation with the Test version of the bot, one test after another. Here the reply sounded right and the judge scored it 88, but the bot still called issue_refund. A broken rule fails a test whatever the score, and the result says which rule.- Pass or fail first, then the average score and the judge
- Each result has the judge's scores, the conversation and each reply's trace
- An AI analysis of the run: what went well, what didn't, what to change
03 / 04Scoring
Choose the judge, and check it.
Pick the model that scores your tests and keep it, so scores compare from run to run. Your reviewers can give their own verdict on judged results. Scoring then shows how often the judge agrees with them, its Cohen's kappa, and where it is too generous. That part is on Enterprise.- 5 dimensions, each scored 0–100
- Weights, pass bars and your own dimensions on Pro and Enterprise
- Pin a baseline judge; a run judged differently is flagged
04 / 04Release gate
Hold the release until the tests pass.
Switch on Hold releases and a release to Production waits until every bot in it passes a run against that exact release. Check a bot before you release, here or from your CI pipeline. Support Bot would be held: a critical test failed.- Pass rate, critical tests, a test set, judge agreement: on Enterprise
- The answer names every test that didn't pass
- Your pipeline asks the same gate with an API key
Verdicts
A broken rule is not a low score.
Rylvo keeps the two apart because they need different fixes. A broken rule means the bot did something it mustn't. A low score means it did the job badly.
Rules: exact, never judged
Phrases, the guardrail’s action, the data to collect, the route through an agent team and every exact check are decided by code. One broken rule fails the test, however good the reply sounded, and the result names the rule.
Quality: scored by a judge you pick
5 dimensions out of the box: relevance, accuracy, completeness, tone, guardrail compliance. The score is their weighted average, and a test passes at 70 unless your scoring says otherwise.
Exact checks
11 more ways to say “must”.
Beyond the phrases, a test can carry checks no judge can overrule, decided by code the same way every run. A check with nothing to read fails and says so. Adding them is on Pro and Enterprise; checks already saved keep running on any plan.
- 01A reply matches a pattern
A reply has to match a pattern you write.
- 02No reply matches a pattern
No reply may match it: a card number, a competitor's name.
- 03The last reply is JSON of this shape
For bots that answer in data, the last reply must fit a schema.
- 04A reply gives this number
A reply has to give the right number, within a margin.
- 05Every reply arrives within (milliseconds)
Every reply has to arrive within the time you set.
- 06The conversation costs less than (US dollars)
The whole conversation has to cost less than you set.
- 07A reply uses the knowledge base
The answer has to come from the knowledge base, or one source in it.
- 08The last reply says much the same as
The last reply has to say much the same as yours.
- 09The bot calls a tool
The bot has to call a tool: look an order up, hand over to a person.
- 10The bot never calls a tool
The bot must never call a tool, such as issue_refund.
- 11The bot calls tools in this order
Tools have to be called in the order you list.
Where tests come from
Every failure can become a test.
Write a test from scratch, or start from something that already happened. A test made from a real conversation replays it, so the bot is where it was when it went wrong.
From an edge case
Add as a test on an edge case writes the test for you: the conversation that went wrong, what should have happened for the judge to read, and a note of what was filled in. You check it and save.
From a trace
Any reply in Traces can become a test from its More actions menu. A good reply becomes the expected answer. A bad one is replayed, and you say how the bot should behave instead.
From a file
Import up to 200 tests at a time from CSV, JSON Lines or JSON. The file is checked first, without saving anything, so you see what will come in. Download every test in the same three formats.
From a red-team run
Red team, in Edge Cases, sends 14 kinds of attack at a bot: prompt injection, PII extraction, jailbreaks, billing bypass and more. Each kind that gets through is filed as an edge case, ready to add as a test. On Pro and Enterprise.
Test sets
The same tests, every time.
A test set is a named list of tests saved as versions that never change. Running “Release suite, version 4” runs the tests exactly as they were saved, however they have been edited since.
A set holds up to 400 tests and a bot up to 50 sets. Download one version as a file, and point the release gate at a set so it always judges the same tests.
Running
Run it when it matters.
Runs go through the same engine as your customers' conversations, against the Test version of the bot: its prompt, tools, knowledge and guardrails. Each result keeps the conversation as it happened and a link to the trace of every reply.
By hand
Run the whole suite, one test, or one version of a test set. Before a run with a judge you haven't used, Rylvo shows which models will judge and analyse it.
On a schedule
The Scheduled test run automation, set up in Production, starts a bot's whole suite on the schedule you set, nightly at 02:00 unless you change it. The results land in Tests.
From your pipeline
Your CI starts the same run with an API key. Every run records who started it: a person, the API, a schedule, a CI pipeline or the Architect.
The judge
Scores you can compare and trust.
A judge you choose
Pick the judge model from the same list as the Run button. It runs on the same provider key as the bot's replies: the AI replies included with your plan, or your own provider key if you add one. If the judge call fails, the result comes from the rules alone and says so.
Scoring you own
By default a test passes at 70 out of 100 and gets partial credit from 40. On Pro and Enterprise, change how much each dimension counts, switch one off, add your own, and set stricter bars for a kind of test or a priority, for every bot or one. Test re-scores the last run before you save.
A judge you can check
Reviewers say pass, partial or fail on judged results. Scoring shows how often the judge agrees, as a percentage and Cohen's kappa, with the full matrix and the drift on each dimension. It is reliable from about 10 verdicts. On Enterprise.
Release gate
Tests decide when it ships.
Admins and owners can switch on Hold releases. A release to Production then waits until every bot in it passes a run against that exact release. With nothing else set, no test may fail and at least one must pass.
On Enterprise, say what passing means: a pass rate, every critical test, one test set, the judge’s agreement with your reviewers. Check a bot before you release, here or from your CI pipeline. The answer names every test that didn’t pass.
Plans
Testing is on every plan.
Plans change how many tests you keep and how often you run them. The server enforces the limits, however you start a run.
Exact checks and your own scoring are on Pro and Enterprise. Judge agreement and the release gate’s criteria are on Enterprise.
| Plan | Test cases | Suite runs |
|---|---|---|
| Free | 5 cases per bot | 3 suite runs / month |
| Starter | 10 cases per bot | 10 suite runs / month |
| Lite | 50 cases per bot | 50 suite runs / month |
| Pro | Unlimited cases | Unlimited runs |
| Enterprise | Unlimited cases | Unlimited runs |
Questions
