Xcode Agent 现在可以操控 Simulator,形成自动化测试闭环:
- Agent 可对 Simulator 执行:点击/滑动/输入
- 可截图并解析无障碍树(Accessibility Tree),理解屏幕内容
- 可让 Agent 在后台运行数小时,自动寻找不同区域的 bug,输出报告
- 自动生成 UI 测试代码,永久保留
- 也可让 Agent 判断某 UI 问题是否应该降级为单元测试(因为系统本身不稳定)
"We let the agent run for a couple of hours and look for different bugs, and give us reports of which areas needed the most attention." — Kevin