logo dotConferences
Menu

Swift Techniques for Testing

Kaya Thomas at dotSwift 2020

Kaya explains two unique techniques to help make your tests easier to read, write and understand. The first technique is using Swift enums to abstract XCUIElementQuery calls and to isolate UI element into cases with each enum representing one screen. The second technique uses function builders to allow you to group multiple calls to XCTAssertTrue() and XCTAssertFalse().

Slides

More details

The following are links to the resources Kaya recommendeds at the end of the talk: