Skip to content
  • There are no suggestions because the search field is empty.

The Peripheral test case

A Peripheral test case is the input you give the AI. It always has a test goal, and it can also have base steps, step templates, a test plan, guardrails, data, application tools and requirements such as Jira or GitHub tickets. This article takes you through the Peripheral editor card by card, so you know what each field is for and how to fill it in. Along the way you'll learn how step templates and their parameters work, what the Exploratory switch does, how open proposals from grill-me and executions end up in your test plan, and which settings, such as attempts, PRA level, recording and action set, you can override for a single test case.

 


A Peripheral test case is your input. It says what has to be proven and under which rules, and it contains the test plan the execution follows. It contains no executable steps: the execution creates those.

This article walks through the editor, card by card. For advice on what to write, see Writing good input.


Creating a Peripheral test case

Open Peripheral in the menu on the left. The Peripheral list works like the other explorers in JOSF: Peripheral test cases in folders.

  • Add peripheral test case creates a new one in the selected folder and opens it in the editor.
  • Create folder adds a folder. Drag test cases and folders to move them; renaming works as in the other explorers.
  • If the list is still empty, it shows Create your first Peripheral test case with a Get started button that opens the Peripheral setup.

Start with a conversation, or with an empty form

A new, empty Peripheral test case shows the card Make this test case with the AI:

  • Start with a conversation opens grill-me in drafting mode. You tell it what you want to test; grill-me fills in the fields as you talk, and you decide on the test plan test case by test case.
  • Empty form hides the card and lets you fill in the fields yourself.

For your first Peripheral test cases, the conversation is the recommended way.


The header

Element What it does
Peripheral label Shows that this is a Peripheral test case.
Title The name of the test case. Generated test cases are shown under this title; a promoted test case gets it in front of its own title.
Tags Tags work as everywhere in JOSF. A Peripheral test case only takes part in a playbook if it has a tag the playlist selects.
Grill-me Starts a grill-me conversation in the chat (requires AI integration).
Save Saves the test case. Nothing in the editor is saved automatically.
Start execution Starts a Peripheral execution. The button is disabled as long as there is no test goal ("Write the test goal first"). Unsaved changes are saved first.

If you close the editor with unsaved changes, JOSF asks for confirmation first.


Test goal (required)

 

What does this test have to prove? What has to be proven, not how. No steps, no locators.

The test goal is one claim about the application's behaviour that can turn out to be true or false, for example:

  • ✅ "Only a user with an account can place an order."
  • ✅ "A cancelled appointment no longer appears in the patient's own appointment overview."
  • ❌ "The checkout process" (an area, not a claim)
  • ❌ "A user orders a product" (a flow, not a claim)

Together with the guardrails, the test goal is the basis on which the AI decides what to verify. It is the only required field.

On the right of the card header you see a summary of the settings (for example PRA Medium · project action set) and the Settings button (⚙). A dot on the button means this test case overrides the project settings. See Settings below.


Base steps / preconditions (optional)

Steps that every test case in the test plan does first, such as logging in. You can leave them out for a single test case.

Base steps are logical test steps that every planned test case starts with, such as opening the application and logging in as a certain role. They are numbered B1, B2, B3; the steps of a step template inside them are numbered B2.1, B2.2.

A planned test case can do without them: open it and tick Without the base steps / preconditions (for example for a test of logging in itself). In the test plan it then gets the label without base steps.

Base steps are also used by the test cases an execution chooses itself in exploratory mode.

Editing step rows

You edit base steps and logical test steps the same way. Every step is one row:

Key / button Effect
Enter A new row after this one
Shift+Enter A new line within the same row
Backspace in an empty row Removes the row
Pasting multiple lines Every line becomes a row of its own
/ in an empty row Opens the list of step templates
+ Step Adds a row
Template Adds a step template as a row
Drag handle (⋮⋮) Changes the order of the rows
× Removes the row

Step templates

A step template is a named block of logical test steps, shared in the project, that a planned test case (or the base steps) uses as one row: for example "Log in as role" or "Create a patient".

  • Add one with Template under the rows, or type / in an empty row. Pick it from the list; use the search field if there are many.
  • A template row shows the name, a field per parameter, and (when you expand it) the steps with your values filled in (read-only).
  • Parameters: every ${name} in a template is a parameter. The row asks for a value for every parameter. If a variable with that name exists (for example an environment variable), the field is filled with ${name}; you can change that. A JOSF function such as ${random(5)} is not a parameter.
  • An empty parameter is shown as a warning: No value: the execution gets ${name} as it is. The execution then literally receives ${name}.
  • Edit template opens the template. A change applies to every planned test case that uses it: they follow the template live.

You manage the project's step templates in the Peripheral settings, page Step templates. Grill-me and an execution can also propose new step templates.

Step templates or base steps? Steps that all planned test cases start with are base steps. Steps that only some of the planned test cases share belong in a step template.


Test plan (optional, but recommended)

The test plan is the list of planned test cases. The test plan leads: an execution runs exactly these test cases, in this order, each one once. It never skips one; a test case that cannot be executed ends as Aborted with a reason.

Without a test plan, the execution chooses its own test cases (see The Exploratory switch below).

A planned test case

Collapsed, a planned test case shows its number, title, the first line of its purpose, the number of steps and, if you did not write it, where it comes from (from grill-me, from chat, from Peripheral execution). Click it to expand it:

Field Meaning
Title The name of the test case. Don't repeat the title of the Peripheral test case: it is shown above it anyway.
Purpose: what this test case proves What this test case contributes to the test goal.
Without the base steps / preconditions Only visible if there are base steps.
Logical test steps (optional) What the user does in this test case, after the base steps. Numbered 1, 2, 3 (and 2.1, 2.2 inside a step template). They give direction, but don't prescribe exact steps.
  • + in the card header adds a planned test case.
  • Drag a planned test case by its handle to change the order.
  • The bin removes it.

The Exploratory switch

The Exploratory switch in the test plan header decides whether the execution also runs a few test cases of its own after the test plan. Those become test plan proposals (see Open proposals below), with the generated test case as evidence.

  • Without a test plan the execution always explores: the switch is disabled ("Without a test plan, an execution always explores its own test cases.").
  • When you add or accept the first planned test case, exploratory mode turns off; you can turn it on again.
  • When you remove the last planned test case, it is locked on again.
  • How many test cases the execution explores after a test plan is capped by Explored test cases per run (with a test plan) in the Peripheral settings (default 3).
  • In a playbook, an execution never proposes anything.

Open proposals

Under the test plan you find the Open proposals: planned test cases and step templates that grill-me or an execution proposed and that you have not decided on yet.

Every proposal shows the title, where it comes from (a grill-me chip, or execution with a link to the run), the purpose, the steps and the rationale.

  • Accept moves a planned test case into the test plan (unsaved, like every change). An accepted step template is saved to the step templates straight away.
  • Reject keeps the proposal as rejected. Rejected proposals are passed on to later executions and to grill-me, so the same idea isn't proposed again.

If an execution runs an open proposal again, that proposal is updated with the new title, purpose, steps, rationale and run, instead of a second proposal being added.


The right-hand column

Guardrails

What is and is not allowed?

Guardrails are rules for the AI during the test: what it may and may not do. Examples:

  • "Never delete data the test did not create itself."
  • "Only use the patient account; never log in as administrator."
  • "Don't leave the clinic.test domain."
  • "Use the page action Log in to log in, never the login form."

Guardrails are soft: the AI is instructed to follow them, but JOSF does not check them technically (only the attempt limits, the time-out and the action set are hard). If continuing would break a guardrail, the test case ends as Aborted with cause guardrail.

+ Template adds one or more guardrail templates: centrally managed guardrails, such as a persona, security rules or rules for test data. The test case refers to them and follows them when they change. Remove one with the × on the chip.

Guardrails also grow with your reviews: Save as guardrail on a detour or intervention and Add guardrail on a generated test case add text here.

The guardrails (free text and templates) go to the orchestrator and to every subagent.

Data

Use + to add a data source: a data sheet from Data storage and the rows the AI may use.

  • Data sheet: choose a data sheet (searchable).
  • Rows: choose one or more rows. Rows that are no longer in the sheet, or that are deactivated, are shown as a warning.
  • The variables of the sheet are shown as chips, such as ${patientName}.
  • One row: it is set at the start of every test case (set at the start of every test case).
  • More rows: the AI chooses a row per test case (the AI chooses a row per test case, with a data sheet step) and may switch rows.

The AI only sees row names and variable names, never the values. Give rows a meaningful name, such as patient-without-appointments, so the AI can choose the right one.

Application tools (MCP) (optional)

Only visible if the project has an application connection.

Tools the AI may use to look at the state and data of the application. Read only, for orientation: a call is never a step.

Per application connection, tick the tools this test case may use. The AI only uses them to read, to look at the state and data of the application; a call never becomes a step. By default nothing is on. With many tools, a search field appears. If a connection has no allowed tools yet, test it first in the Peripheral settings, Application connections (MCP).

Requirements

  • Additional requirements: free text, such as acceptance criteria.
  • + File: add text, markdown or pdf files from the Files module. They are converted to text. Images are not sent. Put the files in Files first.
  • Tickets: link tickets from Jira or GitHub by their key, such as CLINIC-123 or #42, through a ticket source. With more than one ticket source, choose the source under From. The key becomes a link to the ticket, with its title. A ticket that cannot be fetched shows a warning; Retry (one per ticket source) fetches the failed tickets again.

Requirements, files and tickets together are capped by Requirements, max characters (Peripheral settings, default 20,000). What gets cut, you see in the Inputs tab of a run. Tickets are fetched again at the start of every execution and every grill-me conversation.


Markings and runs

Markings

If you have marked generated test cases of this Peripheral test case, they are listed in the Markings card, grouped per planned test case. Every marking shows the kind, the test case, a link to the run, the author, your explanation and the step it refers to.

  • Make general lesson (🎓): drafts a lesson for memory.md based on the marking.
  • Edit and Withdraw.
  • A marking whose planned test case has been removed from the test plan is listed under Planned test case no longer in the test plan, so you can withdraw it.

Runs

The Runs card is the run history of this Peripheral test case. Every run shows the status, the start time, the number of Passed, Finding and Aborted, the number of marked test cases (🚩) and the number of lessons learned (💡). Click a run to open it.

Keep a run with Pin (📌): pinned runs are never cleaned up. The project keeps the last Runs to keep runs (default 10); pinned runs come on top of that.


Settings

The Settings button (⚙) in the test goal card opens the settings of this test case. Empty fields use the project settings.

Setting Meaning
Max. attempts per step How often a step may fail before the test case ends as Aborted (cause limit). Empty: the project setting.
Ceiling failed attempts The total number of failed attempts per generated test case. Empty: the project setting.
PRA level How broadly the execution tests. Project default or one of the PRA levels. 
Recording Project default, Always, Keep on Finding or Aborted or Off.
Action set Project settings, a Template, or an Own selection of actions.

Under the action set you see how many actions it contains and which models (Page actions, API requests) are in it. With Own selection you can show the checklist and tick categories, actions and sub-actions.


Read-only

Without edit rights (for example if you are not logged in with a valid licence), the editor is read-only: buttons to add, remove or reorder are hidden. You can still open runs and read everything. Starting an execution from the editor requires a login; running a playbook that contains Peripheral test cases does not.