Test Suite Syntax
yaml
name: "Test Suite Name"
description: "Description of the test suite purpose"
tags: # Optional: Suite-level tags
- suite-tag1
- suite-tag2
environment: "dev" # Optional: Default environment
test-cases:
- "test-cases/test-case-1.yml"
- "test-cases/test-case-2.yml"Creating Test Suites
- Create a new
.ymlfile in thetest-suites/directory - Define required fields:
nameandtest-cases - List test case file paths in the
test-casesarray - Add optional metadata:
description,tags,environment
Test Suite Example
Create following files in your test-suites directory:
Smoke Test Suite (test-suites/smoke-tests.yml)
yaml
name: "Smoke Test Suite"
description: "Quick smoke tests for critical functionality"
tags:
- smoke
- critical
- fast
environment: "dev"
test-cases:
- "test-cases/user-login.yml"
- "test-cases/add-product-to-cart.yml"