Before you start
In TrustAI- A project with at least one requirement. See Write requirements.
- The Editor or Admin project role in it.
- To run a suite: a saved test or scenario under at least one of its requirements, and credits in your workspace.
Make a suite
- On the Scenarios or Tests page, click Create at the top right, then New suite. You should see: New suite, with a Name field and the note “A suite groups requirements that belong together.” Create suite can’t be clicked until you enter a name.
-
Enter a Name, such as
Required fields, and click Create suite. You should see: the message Created suite and the suite’s name, and the project overview counts it under Suites. The list shows the new suite’s heading with 0 beside it and “No requirements in this suite yet. Use + to add one, or move one here from its Suite field.” In a project with no requirements yet, the page says Add your first requirement instead, until you add one.
Put a requirement in a suite
For a new requirement: click Create, then New requirement. Under the name, a field shows Unassigned. It has no label. Click it and choose the suite. Or point at a suite’s heading in the list and click the + on it (its name is New requirement in the suite’s name). Then that field shows the suite’s name for you. Write requirements shows the form. For a requirement you already have:- Click the requirement’s name in the list to open its panel. You should see: the panel’s Definition tab, with Coverage, Suite and Description. Suite shows Unassigned if the requirement isn’t in a suite.
- Click the suite under Suite and pick the suite you want. You should see: your suites, leaving out the one the requirement is in now. After you pick, the message Requirement moved, and the requirement moves under that suite’s heading in the list.
Take a requirement out of a suite
- Open the requirement’s panel and click the suite under Suite. You should see: Unassigned in the list, with your other suites.
- Click Unassigned. You should see: the requirement under the Unassigned heading in the list. The Unassigned heading only shows while at least one requirement isn’t in a suite.
See requirements by suite
Click Display options at the top right of the list (next to the filter button).- With Group by suite on, which is how the list starts, each suite is a heading with its requirements under it. The number beside a suite’s name is how many requirements it holds.
- With Group by suite off, the list is one long list, and a Suite column shows each requirement’s suite. In an agent evaluation project, click a requirement’s suite there and pick another suite (or Unassigned) to move it. In a functional testing project, the column only shows the suite: move a requirement from its Suite field instead.
Rename a suite
Double-click the suite’s name on its heading, type the new name and press Enter. You should see: a message such as Renamed “Opportunity rules” to “Opportunity fields”, and the new name on the heading. Or use the menu:- Point at the suite’s heading and click ⋮ (its name is Actions for the suite’s name), then Rename suite. You should see: Rename suite, with the suite’s Name. Rename can’t be clicked until you change it.
- Enter the new name and click Rename. You should see: the new name on the suite’s heading in the list.
Run a suite
-
Point at the suite’s heading. Click the run button (▷) that appears on it. Its name says what it runs, such as
Run 2 tests in Required fields or Run 4 scenarios in Case privacy.
You should see: the same dialog as for one test or scenario, counting everything in the suite under
This will run, such as 2 tests selected and 2 tests will run.
- Functional testing: Run tests.
- Agent evaluation: Run & evaluate scenarios, with Attempts per scenario. In a project with no default agent, it says “No default agent is chosen.” with Fix in project settings.
- Click the button at the bottom: Run 2 tests (or however many) or Run evaluation. You should see: the run’s page opens. Each requirement in the suite is listed with its suite’s name beside it, and its tests or scenarios under it. Run details shows the run’s Result when it ends.
Archive a suite
Archiving a suite takes it out of the list. TrustAI asks what to do with the requirements in it first.-
Point at the suite’s heading, click ⋮, then Archive suite….
You should see: Archive and the suite’s name, with Reason for archiving and “What happens to the
requirements?”. It offers two choices:
- Archive requirements too: “Only the exact eligible definitions in the reviewed plan are archived. History is retained.”
- Move requirements: “Archive the suite and keep its requirements in a destination you choose.”
- Write a reason. To keep the requirements, choose Move requirements, then choose where they go under Move requirements to: Unassigned or another suite. Click Review. You should see: a summary of what will happen, such as “Move 1 requirement”, “Archive 1 suite” and the destination. Edit options takes you back.
- Click Archive. You should see: a second box, Archive and the suite’s name with a question mark: “Archive the records shown in this review. History is retained. This does not permanently delete records.” Click Archive again.
- Wait for the archive to finish. You should see: Archive completed and Done. Click Done. The suite is gone from the list, and its requirements are under the destination you chose.