commit | 159bf860e16e11035da8d975e103e5f59bbd323b | [log] [tgz] |
---|---|---|
author | Mobile DevX Robot <mobile-devx-github-bot@google.com> | Thu Aug 04 23:32:01 2022 |
committer | Mobile DevX Robot <mobile-devx-github-bot@google.com> | Thu Oct 05 20:34:19 2023 |
tree | be7fd1db3a462b62de2af3d7f90539509c6aa1b0 | |
parent | a56af86f685186247835edad65a6f0f0ba13ddc7 [diff] |
Internal Commit Uploaded PiperOrigin-RevId: 465432740
Note: EarlGrey 2.0 currently supports Xcode Projects and building from source for both white and black box testing. CocoaPods support is present for black-box testing. Contributions are welcome for CocoaPods white-box testing and other package managers.
To use, please clone the earlgrey2
branch with its submodules:
// Clone EarlGrey 2.0 git clone -b earlgrey2 https://github.com/google/EarlGrey.git // Download any dependencies sh Scripts/download_deps.sh
EarlGrey 2.0 is a native iOS UI automation test framework that combines EarlGrey with XCUITest, Apple's official UI Testing Framework.
EarlGrey 2.0 allows you to write clear, concise tests in Objective-C / Swift and enables out of process interactions with XCUITest. It has the following chief advantages:
EarlGrey 1.0 is a white-box testing tool that allows you to interact with the application under test. Since XCUITest is a black-box testing framework, this is not directly possible with EarlGrey 2.0. To fix this, we use eDistantObject (eDO) to allow these white-box interactions.
To integrate with EarlGrey 2.0 using Xcode Projects, please take a look at our Setup Guide. For CocoaPods, please look at the CocoaPods Setup Guide.
For a quick sample project, take a look at our FunctionalTests project.
You can use the same channels as with EarlGrey 1.0 for communicating with us. Please use the earlgrey-2
tag to differentiate the projects.
EarlGrey is not intended to be shipped in user facing products so we are not supplying formal Apple Privacy Description Label guidelines. That being said, this product does not collect or transmit any analytics or personal data.
All project source code is licensed under the Apache 2.0 license. All image resources are licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. The texts of both licenses are included in the LICENSE file.