agf-running-apple-sit

Solid

Use when apple-dev has finished feature code + Unit tests (Swift Testing) and is about to enter code-review. Provides the Apple SIT scope (xcodebuild test + simulator per declared target), the AC-driven integration walk, APIProtocol-mock discipline, and evidence sink (progress/apple-dev.md). SIT is dev-owned; apple-code-reviewer audits the evidence.

Testing & QA 412 stars 14 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
87
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Running Apple SIT (xcodebuild + simulator) Use this skill when: - apple-dev finished feature code + Unit tests and is about to enter code-review - apple-dev needs to verify a fix doesn't regress integration(视图 ↔ AppCore ↔ 生成 client ↔ 后端契约) ## What Apple SIT is — and is not **SIT** verifies that **independently-developed components compose correctly** at the app-integration layer — SwiftUI 视图 ↔ AppCore 业务层 ↔ swift-openapi-generator 生成的 client ↔(mock 后端)。It is NOT: - Unit tests(Swift Testing,`swift test` 已在分支全绿) - E2E(XCUITest 对**签名分发包**——apple-qa-engineer 在发布构建后跑) - UAT(业务签字,product-lead 驱动) If a failure reproduces in plain `swift test` with mocks, it's a unit-level miss — fold it back into the unit suite, don't write it up as a SIT defect. ## Pre-conditions - [ ] Feature branch rebased onto `main` - [ ] Unit 全绿:`cd apple/AppCore && swift test`,strict concurrency 零 warning - [ ] AC 来源可达:`docs/changes/<change>/tasks.md`(AC↔scenario 映射,ADR-012;旧 feature fallback `docs/prd/[feature]-[date].md`),且每条 AC 的 **target 归属**清楚(macos / ios / universal) - [ ] **契约 mock 纪律**:后端 mock 一律实现生成的 `APIProtocol`(ADR-008),**禁手写 JSON fixture**;`openapi.json` 与 main 上后端导出一致 - [ ] 模拟器就位:`xcrun simctl list devices available` 有目标 destination If any precondition fails: SendMessage product-lead, do not proceed. ## Environment SIT 在**模拟器 / 本机**层执行(非签名分发包——那是 E2E 的事): ```bash # iOS target xcodebuild test -project apple/App.xcodeproj -scheme App \ -destination 'platform=iOS Simulator,name=iPho...

Details

Author
pcliangx
Repository
pcliangx/AppGenesisForge
Created
4 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category