Flow
Test data catalog
The test data catalog is a central, versioned list of the test data a project uses. Test cases do not copy values into their text; they reference a catalog key, and the value is resolved only when code is generated or a test runs. Secrets such as passwords are never shown in cases, pull requests or logs.
Why a catalog (Demonstrated)
When test data is written directly into cases, the same value appears in many places. If it changes, some cases are updated and others are not, and a password typed into a case ends up in Jira, a pull request and a log.
The catalog solves both problems. Each project in AI Probe Home has its own catalog of entries. An entry has a key, a value, a group and an optional description. Cases reference the key, so one change to the catalog updates every case that uses it, and the platform knows exactly which cases are affected.
AI also receives the catalog’s keys and non-secret values when it drafts a design model or cases, so it uses real test data from your environment instead of inventing it.
The catalog has its own screen in the portal. The portal interface is in Turkish today; screen and button names on this page are translations.
Referencing keys in cases
A reference has the form {veri:key}. Keys are lowercase words separated by dots. For the fictional Acme Retail web shop, a case step for STORY-142 Order cancellation could read:
Open order {veri:orders.a1001.number} and select Cancel.
Expected: the refund of {veri:orders.a1001.total} goes to the original payment method.
When a case is generated or edited, the platform turns exact occurrences of known catalog values into references. It only does this when the value is unambiguous: a value that belongs to more than one key is left as it is. Amounts are only turned into references in test data and preconditions, so a calculated total in an expected result is not mistaken for a catalog value.
References are resolved in preconditions, steps, step data and expected results. Interface labels, such as the text of a button, are not test data and are never turned into references.
Secrets
Some entries are secret, for example the password of a test user. A secret entry has no value in the catalog. Its value is stored as a project secret, is never returned by the API and is never written to the audit log.
In case content a secret always appears as its reference, for example {veri:users.buyer.password}, never as the value. In other texts (bug drafts, pull requests, logs, audit entries and published content) known secret values are masked as •••.
If a case needs a secret whose value is not defined, code generation stops with a clear test data error. It does not write a plain password into a pull request. A non-secret entry that has the same value as a secret is rejected.
Filling the catalog from your database
Entries can be added by hand or loaded from read-only database sources. A source is a single SELECT query on the project’s read-only connection, with a group name, a key column and one or more value columns. Each row becomes one or more catalog entries.
Source queries run only in the platform’s worker, inside a read-only transaction with a time limit. They pass the same query guard as the consistency check: only the tables the query reads are allowed, columns with sensitive names are excluded, and the number of rows read is limited.
Refresh updates the catalog from the sources:
- New keys are added.
- Changed values are saved as a new version, with the cases that use them listed.
- Keys the source no longer returns are flagged, not deleted.
- Keys a person removed are not brought back, and values that match a secret are skipped.
Versions, history and who can edit
Every change to an entry creates a version and an audit entry with the old value and the affected cases. Edits use optimistic locking: if someone else changed the entry since you opened it, your save is refused and you see the new version. Deleting an entry is refused while an active case still references it.
The analyst, the test specialist and the automation engineer can edit the catalog. The test specialist needs this because a corrected case may reference a key that must exist in the catalog.
For the code generated from approved cases, see Code generation. For how data reaches the model, see Architecture.
Updated: