Skip to content

Test-AI — Deliverables

The right-hand column of Test-AI, "Deliverables", holds what the class produces with the agent: user stories, requirements, test plans, anomalies, Robot Framework scripts and JMeter scripts. Each item carries a readable code (EXG-001, PLAN-002…) by which the student and the agent refer to it.

What this page describes

Test-AI 0.24.0, as the shipped code behaves (test-ai/public/js/sidebar.js, editor.js, the routes in test-ai/src/routes/). Sister pages: AI-driven tests, Watch a test live, Configure the language model.

The six lists

List Code Specific fields Export
User Stories US-001 — —
Requirements EXG-001 Language (French, English) —
Test plans PLAN-001 — —
Anomalies ANO-001 Severity (Low, Medium, High, Critical) —
Robot Framework scripts RF-001 — ⤓ .robot
JMeter scripts JM-001 — ⤓ .jmx
  • The code shows before the name on every row, and the screen reader reads it too. It is never reassigned: a deleted item takes its number with it.
  • The lists are shared by every account signed in to the same platform: a class sees and edits the same deliverables. No item has an owner.
  • Each section folds by its title (▾). The left-hand column, "The agent's brain" (context, personas, skills, documents), sets what the agent knows; it is not described here.

Create and edit

  1. + ("Add to …") in a section header creates an empty item at once — "New requirement", "New anomaly"… — saved immediately: it stays even if you cancel afterwards.
  2. The editor opens in the conversation's Editor sub-tab, with the name selected. The conversation and any running test stay open behind it.
  3. The fields:
    • Name: 200 characters at most, required;
    • Content: text, best written in Markdown (details, acceptance criteria, steps…), up to 1,048,576 characters; the editor does not render it;
    • Language for a requirement — the platform's language by default;
    • Severity for an anomaly — Medium by default.
  4. Save keeps the changes; Cancel and Close leave the editor without saving — with a confirmation when unsaved changes remain.

A click on a row reopens the item in the editor.

Import a file

The ⬆ button ("Import a file") of each section creates an item from a file:

Format What is read
.md, .markdown, .txt the text, read as UTF-8 (a BOM, if any, is removed)
.docx the text only: formatting, tables and images are ignored
  • 5 MB at most per file; the text kept has 1,048,576 characters at most.
  • PDF is refused: save the document as .docx, or copy its text into a .txt.
  • A Robot Framework or JMeter script is imported from a .txt or .md file too, not from a .robot or .jmx.
  • The file name, extension included, becomes the item's name (200 characters at most); the editor opens on the imported item. An imported requirement takes the platform's language; an anomaly, the Medium severity.

Reorder

Drag a row to move it within its section (an item does not change lists). The new place is saved at once.

With the keyboard:

  1. Tab to the row's ⋮⋮ handle; the screen reader announces "Reorder name — press Space then Arrow up / down, Space again to confirm, Escape to cancel".
  2. Space picks the row up;
  3. Up and Down move it one step (each step is saved);
  4. Space drops it; Esc puts it back where it started.

Each move is announced to the screen reader.

Delete

A row's 🗑 bin opens a confirmation box: "Permanently delete the requirement "name"?".

  • Focus is on Cancel: Enter does not delete by accident; Esc closes the box, and Tab stays inside it.
  • If the deleted item is open in the editor with unsaved changes, the browser first asks whether to discard them. Deleting another item leaves the editor alone.
  • Deleting the open item closes its editor.
  • There is no bin and no undo: deletion is final.

Deliverables and the agent

  • Quoting a code in the conversation ("check EXG-003 against PLAN-001") adds the content of those items to the agent's context: 20 items at most per message, 4,000 bytes of content per item (beyond that, the content is cut). Codes work for tests too: the attached context follows the request up to the writing of the script.
  • Under each answer of the agent, the "Add to User Stories", "Add to Requirements", "Add to Plans" and "Add to Anomalies" buttons create an item from the answer; the message "Added code — name" confirms it.
  • The agent's proposals: "The AI proposes to create a requirement:" (or a plan, an anomaly, a user story, a script) shows the proposed content; nothing is written without Confirm. With Ollama and the "Custom" provider, the agent makes no proposals (see Configure the language model).
  • Exploring the site proposes candidate requirements, which the student adds one by one to the Requirements.

The anomaly of a failing test

When a test ends without succeeding — a script failure or a breakdown (model, container) —, Test-AI creates an anomaly:

  • name "Auto:" followed by the first 80 characters of the request; severity Medium;
  • content: the request, the status, the last script and the end of the error output;
  • linked to the test: the test's Anomaly tab shows it, and Open the anomaly opens it in the editor. The "Anomalies" list is read again as soon as the test ends.

A test stopped by the student (or by closing its conversation, or by signing out) creates no anomaly.

Limits

  • No history: saving replaces the previous version; no version is kept.
  • No plan ↔ requirements link in the interface: to link a plan to its requirements, quote their codes in its content. The requirement_ids field exists, but only the API sets it, and the page does not show it.
  • No formatting in the editor: the content stays plain text; only the conversation and the agent's proposals render Markdown.
  • Export of scripts only (⤓ .robot, .jmx); the other lists cannot be exported from the interface.
  • The data lives in the Test-AI SQLite database, on the test-ai-data Docker volume.

For integrators

The six lists share one API, under a Test-AI session (/api/user-stories, /api/requirements, /api/plans, /api/anomalies, /api/scripts-robot, /api/scripts-jmeter):

Route Role
GET /api/<list> the items, in their order ({items})
POST /api/<list> creates an item (201)
GET, PUT, DELETE /api/<list>/:id reads, edits, deletes (204)
PUT /api/<list>/reorder saves a new order
POST /api/<list>/upload imports a file (file field)
GET /api/scripts-robot/:id/export, GET /api/scripts-jmeter/:id/export downloads the script

An error returns a key and its translated message: {error_code, error, params}.