Sightdeck AIAgentic Studio

User Guide

Test design

Which values should you test, and which combinations? A model answers that in a structured way, so no case gets forgotten. Sightdeck offers the classic black-box techniques per requirement, and every partition, boundary value, rule or transition becomes exactly one test condition.

What you get

  • Equivalence Partitioning with Boundary value analysis, drawn on a number line.
  • Decision table for combinations of yes/no conditions and the actions they lead to.
  • State transition as a diagram, including the transitions that must be refused.
  • One click to create all test conditions from a model, and a view of what is already covered.

Models per requirement

Test design lives on the requirement, between the acceptance criteria and the test conditions. Click Open test design or New model, pick a technique and fill it in. The model opens in its own window: the list of models on the left (Models in R-021), the editor in the middle. One requirement can hold several models, for example one for the weight and one for the destination. Each model is saved with the requirement; Save keeps your changes, Discard drops them.

Create with AI reads the requirement and its acceptance criteria and suggests one model per technique, each with a short "why". You compare them and keep the ones that fit. Existing models are sent along, so the AI does not suggest the same thing twice.

Equivalence partitioning and boundary values

Many values of one input behave the same way. One representative tests a whole partition. The edges between partitions are where off-by-one errors hide, so boundary value analysis adds the values right on and next to every edge.

  1. Model name: the one input you test, for example "Parcel weight".
  2. Ranges: add a row per valid partition with From, To and its Expected result. An empty From or To is open (−∞ or +∞). Everything below the first range, above the last one and in any gap is invalid.
  3. Expected result for every invalid value: one result for all invalid values, for example an error message. It is required.
  4. Boundary value analysis is a switch. When it is on, Sightdeck adds the boundary itself (0) and one value below (−1) and above (+1) every edge. The distance is one step of your values (1 for whole numbers, 0.01 for euros) unless you set your own under Below and Above.

The line draws all of it: valid and invalid partitions, the representative of each partition, the boundary values, and hollow dots for invalid values. Below it, the test conditions are listed in two groups: one representative per partition, then the boundary values, each with its input and expected output.

Sightdeck AI test design, Equivalence Partitioning for parcel weight: a number line with the invalid partition below 0, valid partitions 0 to 10, 11 to 20 and above 20, representatives and boundary values marked, the derived test conditions below
Parcel weight on the number line: partitions, representatives and boundary values.

Example: R-021 "Shipping cost by parcel weight"

Three ranges, in whole kilograms:

  • 0 to 10: shipping €4.99
  • 11 to 20: shipping €14.99
  • 21 to (empty): freight
  • Every invalid value: "Error: the weight cannot be negative"

That gives four partitions on the line, each with a representative Sightdeck picks from its middle:

  invalid  |   €4.99   |   €14.99   |  freight
   < 0     |  0 … 10   |  11 … 20   |   > 20
 ----o-----●-----------●------------●------------> kg
    -1     0  1     9 10 11      19 20 21
 representatives:  -5      5          15          25

With boundary value analysis on, the values are −1, 0 and 1 at the lower edge, 9, 10 and 11 between the first two ranges, and 19, 20 and 21 before freight. Together with the four representatives that is 13 test conditions, each one an input and the result it must give. Only −1 and −5 are invalid; they expect the error.

Decision tables

Use a decision table when the result depends on a combination of conditions.

  1. Write every condition as a row that is true or false.
  2. Below them write the actions: what the system does.
  3. Every column is a rule. Click a cell to cycle Y, N and – (does not matter), and tick the actions that follow.

The table counts the combinations and the rules. It warns when combinations have no rule (Add them fills them in) and when two rules overlap, with the same or with different actions. Expand – into rules writes every combination a – stands for as its own rule. Find gaps using AI looks for missing conditions, actions and rules; its suggestions stay only when you accept them.

Example, R-017 "Guest checkout without an account": conditions "E-mail address valid", "Shipping address complete", "Terms accepted"; actions "Place the order", "Show an error". Three conditions make 8 combinations. With – they collapse into 4 rules: all Y places the order; an invalid e-mail, an incomplete address or unaccepted terms each show an error. Four rules, four test conditions.

State transitions

Use a state transition model when behaviour depends on what happened before.

  1. Add the states. The first one is the start state.
  2. Add the transitions: from which state, on which event, to which state.
  3. Add the transitions that must not happen as well: pick ✕ refused (invalid) as the target.

The diagram shows each transition as covered by a test condition, no test condition yet, or refused event, and counts how many are covered. Drag states to arrange them, use Auto layout, Auto Fit or Full screen, and zoom with Cmd/Ctrl and scroll.

Example, R-014 "Retry a declined payment once": states Pending, Declined, Retrying, Paid and Failed. Transitions: Pending, payment declined, to Declined; Declined, retry, to Retrying; Retrying, payment accepted, to Paid; Retrying, payment declined, to Failed. And one refused event: Failed, retry. That refusal is what "once" means, and it gets its own test condition.

Sightdeck AI test design, state transition diagram for a payment retry: covered transitions, one transition without a test condition yet, and a refused retry from Failed
R-014 as a state diagram: covered, not yet covered and refused.

From model to test conditions to test cases

  1. Create all test conditions adds a test condition to the requirement for every partition, boundary value, rule and transition that has none yet. If a condition with the same text already exists, it is linked instead. Single rows can be created one at a time too.
  2. On the requirement, every test condition shows the test cases that cover it. One without a test case offers Create test case, which creates a test case linked to that condition.
  3. Suggest with AI reads the requirement, its criteria and conditions and proposes test cases, each tagged with its technique (for example boundary values or state transition). Accept or reject each one. Accepted ones become test cases in Draft, linked to the requirement.

The model shows its own coverage, for example "Equivalence Partitioning · 13 partitions and values · 13/13 as a test condition", so you see at a glance what is still open.

Related