tag | f8b1c48fb419ef714fb09a77086a252db4489f2a | |
---|---|---|
tagger | Aditya Atul Tirodkar <tirodkar@google.com> | Tue Nov 05 21:23:45 2019 |
object | 03b479ffcecba74f6d756bffe4e04347ac89eefb |
Tag for EarlGrey 2.1.0 Release
commit | 03b479ffcecba74f6d756bffe4e04347ac89eefb | [log] [tgz] |
---|---|---|
author | Aditya Atul Tirodkar <tirodkar@google.com> | Tue Nov 05 21:21:58 2019 |
committer | Aditya Atul Tirodkar <tirodkar@google.com> | Tue Nov 05 21:21:58 2019 |
tree | 35610dd769815c14bf29a5979ce1ee65107db51e | |
parent | ab525c66f6256bdd0aae9be0ff6e405f7a9f1de0 [diff] |
Import fix in GREYTestDO
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.
Unlike EarlGrey 1.0, EarlGrey 2.0 does not collect or upload any analytics for its usage.