PLT-OS v1.9.x YAML Updates¶
Contents
YAML Changes¶
runs-on section¶
An optional runs-on:
section allows specifying test execution
constraints.
Example: test plan requiring PLT-OS v1.9
runs-on:
version: "1.9"
suite:
- steps:
- command: operator "Hello"
Example: Complex constraints
title: Complex constraints
runs-on:
# Supported PLT-OS version(s)
version:
# Multiple version constraints can be provided (OR)
- "1.2.3"
- "~> 2.0"
# Comma-separate constraints (AND)
- ">= 5.0.0, < 7.2.3"
# Only on PLTs with attached PPCs with any of these IDs
ppc:
- "a32fa1"
- "323213"
model:
- "PLT-200A"
- "PLT-300A"
suite:
- steps:
- command: sleepms 1000
timeout field¶
Example: Basic timeout field usage
title: Basic timeout field usage
suite:
- steps:
- command: operator "Confirm"
timeout: 1s
Command Changes¶
eval command¶
hex parsing
hex() function