skills/test/SKILL.md
Run generated test flows against the app in the simulator using Grantiva. Use after /swift-assist:make-tests to execute and validate your user flows.
npx skillsauth add grantiva/swift-assist testInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the generated flow YAML files against the app in the simulator using grantiva run.
/swift-assist:test
/swift-assist:test --flow=login
/swift-assist:test --all
--flow=<name>: Run a specific flow (matches filename in flows/ directory)--all: Run all flows sequentially/swift-assist:make-tests first)If no flows exist:
No flow files found in flows/. Run /swift-assist:make-tests first.
List available flow files:
ls flows/*.yaml 2>/dev/null
If --flow specified, find matching file
If --all specified, collect all non-underscore-prefixed flows (skip _setup-*.yaml helper flows)
If neither specified, show available flows and ask which to run
For each flow, execute it using grantiva run:
grantiva run flows/<flow-name>.yaml
After all flows complete:
Test Execution Report
=====================
Flows run: 5 | Passed: 4 | Failed: 1
onboarding.yaml PASS
login.yaml PASS
settings.yaml FAIL
profile.yaml PASS
checkout.yaml PASS
Report any error output from failed flows so the user can diagnose and fix.
testing
Run visual regression testing using Grantiva's diff pipeline. Capture screenshots, compare against baselines, and report visual differences. Use for catching unintended UI changes.
testing
Approve current VRT captures as new baselines. Can approve all or specific screens selectively. Use after reviewing /swift-assist:vrt results.
development
Add the UI_TESTING / .mock services pattern to the app entry point so Grantiva can run tests with deterministic data and no live server. Use before make-tests when the app talks to an API.
testing
Generate a GitHub Actions workflow that runs Grantiva VRT in CI on every pull request. Use to add cloud visual regression testing with GitHub Check integration to your project.