The run-suite command triggers an ATF test suite from a manifest and waits for results. It looks up the suite step by id (default: create_suite) in the last execute results and runs that suite via the CI/CD API.
run-suite
Execute a specific ATF test suite and report results.
sn run-suite <manifest.ts> [--step-id <id>] Execute a specific ATF test suite and report results.
Arguments
| Name | Required | Description |
|---|---|---|
| manifest.ts | Yes | Path to the manifest containing ATF suite steps. |
Flags
| Flag | Default | Description |
|---|---|---|
| --step-id <id> | create_suite | Step id of the ATF suite step in the manifest. Defaults to `create_suite`. Use this when your suite step has a custom id. |
Examples
sn run-suite manifests/fixtures/test-cross-skill/manifest.tsRunning ATF suite: Cross-Skill Tests
✓ Test 1: Business Rule fires on insert 0.4s
✓ Test 2: Script include returns correct value 0.3s
✓ Test 3: Catalog item creates task 0.8s
3/3 tests passed (1.5s)
sn run-suite manifests/fixtures/test-cross-skill/manifest.ts --step-id my_atf_suiteRunning ATF suite: Cross-Skill Tests
3/3 tests passed (1.5s)