1. 国外的一篇文章 UI Testing in Xcode 7, Part 1: UI Testing Gotchas
2. 猫王的 WWDC15 Session笔记 - Xcode 7 UI 测试初窥
三、解决前言中提到的几个问题
1. UI Testing 中代码覆盖率的支持
查看Xcode各版本发布纪要
Known Issues in Xcode 7 beta — IDE
Xcode does not show code coverage information for source files in static libraries. (15605406)
Workaround: Add the source files directly to application or framework targets.
Code coverage does not work with UI testing. (20966994)
Resolved in Xcode 7 beta 4 - IDE
Code coverage works with UI testing(20966994)
Resolved in Xcode 7 beta 5 - IDE
Code Coverage now supports files in static libraries. The source files show up under each binary th
at links the static library in the Coverage tab of the Test Report. The source editor shows coverage nu
mbers aggregated across all binaries.(21984681)