Stages

Stage Schema

Each stage in the stages array follows this structure:

AttributeTypeDescription
namestringName of the stage
stepsarrayList of test step commands (see Commands)

Naming conventions

Steps and stages should be named in a way that clearly describes the operation or command being executed. This helps in identifying the purpose of each step and stage, making it easier to understand the test file. Restrictions: Stages can not be named Setup or Teardown as these are reserved keywords.

Example

name: "Firmware Test Suite"
description: "Tests firmware functionality and boot process"

pre-stage:
  name: "Setup"
  steps:
    - cmd: dutctl
      name: "Power On"
      transport: *default_transport
      parameters:
        command: "power"
        args: ["on"]

stages:
  - name: "Boot Test Stage"
    steps: ...