/axiom:run-tests
Run XCUITests and parse results using the test-runner or test-debugger agent.
Command
bash
/axiom:run-tests [scheme] [target]What It Does
- Discover schemes — Finds available test targets in the project
- Run tests — Executes xcodebuild test with proper configuration
- Parse results — Extracts structured data from .xcresult bundles
- Report failures — Shows failure messages with file:line locations
- Export attachments — Saves failure screenshots and logs
When to Use
- You want to run UI tests and see what failed
- You need to run a specific test scheme or class
- You want to export failure screenshots from a test run
Related
- test-runner — The agent that runs and reports test results
- test-debugger — Closed-loop debugging that fixes failing tests
- swift-testing — Modern Swift Testing framework patterns