Install
openclaw skills install native-automationApple Native Automation & Testing Skill
openclaw skills install native-automationPhilosophy: Use Apple's first-party tools (XCTest, XCUITest, Instruments) as the source of truth for quality.
Always use the wrapper script to ensure correct scheme and destination settings.
./tools/run_native_tests.sh [mode]
Modes:
unit: Run unit tests only (Logic layer).ui: Run UI tests only (Interaction layer).fast: Run unit + critical UI paths.full: Run ALL tests (including performance and snapshots).XCTestCase. Use XCTAssert....XCTestCase. Use XCUIApplication.measure(metrics:options:block:).app.launchArguments += ["-reset"]).app.buttons["identifier"] over static texts.XCTestExpectation for async code.