Swiftly Separating the What From The How in UI Tests
summary
Claims that protocol-based robots let tests express what is verified while swapping how it’s done, and demonstrates it on a Cubs sample app with KIF, XCUI, EarlGrey all calling the same robot methods. Implements Swift protocols with default extensions, shows casting needed to pick a non-default impl, and notes a real-world XCUI simulator bug in Xcode 8.2 plus a testable-import/target-membership workaround. Result: shared reusable tests with only one small copy‑paste for test discovery.
AI-written summary · about
