commit | 822ce18b55fc264f54baf950e20a794582723d03 | [log] [tgz] |
---|---|---|
author | Brett <brettfazio@google.com> | Thu Jun 27 01:18:41 2019 |
committer | GitHub <noreply@github.com> | Thu Jun 27 01:18:41 2019 |
tree | 99fbc1e5b95e89413d8bd87e3edd75a7289db235 | |
parent | 42f084a0ac57fbc37d35999bd8414a438728efc2 [diff] |
modular imports
Note: EarlGrey 2.0 is currently in Alpha and doesn‘t support all forms of integration. In the coming quarters we’ll add support for Xcode Projects and CocoaPods as well. Please peruse the code and do bring forward any issues or concerns you might have with migrating your EarlGrey 1.0 tests to 2.0.
To use, please clone the earlgrey2
branch with its submodules:
// Clone EarlGrey 2.0 with all its dependencies git clone --recursive -b earlgrey2 https://github.com/google/EarlGrey.git
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.
Currently, only the source code is available, with Xcode Project integration. To integrate with EarlGrey 2.0, please take a look at our 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.