qa-testing-ios

Solid

iOS testing with XCTest/XCUITest/Swift Testing via xcodebuild/simctl. Use when choosing destinations, controlling flakes, or parsing xcresult.

Testing & QA 80 stars 17 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 83/100

Stars 20%
64
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# QA Testing (iOS) Use `xcodebuild` + Xcode Simulator (`simctl`) to build, run, and stabilize iOS tests. **Primary docs**: [XCTest](https://developer.apple.com/documentation/xctest), [Swift Testing](https://developer.apple.com/documentation/testing), [simctl](https://developer.apple.com/documentation/xcode/simctl), [Xcode testing](https://developer.apple.com/documentation/xcode/testing-your-apps-in-xcode) ## Inputs to Confirm - Xcode entrypoint: `-workspace` or `-project` - `-scheme` (and optional `-testPlan`) - Destination(s): simulator name + iOS runtime (or `OS=latest`), and whether real devices are required - UI-test hooks: launch arguments/env toggles (stubs, demo data, auth bypass, disable animations) - Artifact needs: `xcresult`, coverage, screenshots/video, logs ## Quick Commands | Task | Command | |------|---------| | List schemes | `xcodebuild -list -workspace MyApp.xcworkspace` | | List simulators | `xcrun simctl list devices` | | List devices (USB) | `xcrun xctrace list devices` | | Boot simulator | `xcrun simctl boot "iPhone 15 Pro"` | | Wait for boot | `xcrun simctl bootstatus booted -b` | | Build app | `xcodebuild build -scheme MyApp -sdk iphonesimulator` | | Install app | `xcrun simctl install booted app.app` | | Run tests | `xcodebuild test -scheme MyApp -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' -resultBundlePath TestResults.xcresult` | | Run tests (device) | `xcodebuild test -scheme MyApp -destination 'platform=iOS,id=<UDID>' -...

Details

Author
vasilyu1983
Repository
vasilyu1983/AI-Agents-public
Created
9 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category