Issue #539
XCUIScreenshot
extension XCTestCase {
func takeScreenshot(name: String) {
let screenshot = XCUIScreen.main.screenshot()
let attach = XCTAttachment(screenshot: screenshot)
attach.lifetime = .keepAlways
add(attach)
}
}
Gather screenshot for localization
xcresult from Xcode 11
- https://www.chargepoint.com/engineering/xcparse/
- xcparse Command line tool & Swift framework for parsing Xcode 11+ xcresult