Home / Companies / Google Cloud / Blog / Post Details
Content Deep Dive

EarlGrey - iOS Functional UI Testing Framework

Blog post from Google Cloud

Post Details
Company
Date Published
Author
-
Word Count
226
Language
English
Hacker News Points
-
Summary

EarlGrey is an open-source functional UI testing framework for iOS, announced by Google iOS Developers in 2016, and has been adopted by several Google apps like YouTube, Google Calendar, and Google Photos for their testing needs. The framework offers robust features such as powerful built-in synchronization, which allows tests to automatically wait for events like animations and network requests, making them simpler to write and maintain. It also includes visibility checking to ensure interactions occur only with visible elements, preventing errors such as trying to tap a hidden button. Designed with flexibility in mind, EarlGrey's components for element selection, interaction, assertion, and synchronization are extensible, allowing developers to adapt the framework to their specific requirements. Available under the Apache license, developers can incorporate EarlGrey into their projects using CocoaPods or by manually adding it to their Xcode project.