sndev.io / docs

run-suite

Execute a specific ATF test suite and report results.

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.

sn run-suite <manifest.ts> [--step-id <id>]

Execute a specific ATF test suite and report results.

Arguments

NameRequiredDescription
manifest.tsYesPath to the manifest containing ATF suite steps.

Flags

FlagDefaultDescription
--step-id <id>create_suiteStep 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.ts
Running 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_suite
Running ATF suite: Cross-Skill Tests
3/3 tests passed (1.5s)