An example that shows several features of EarlGrey.
EarlGreyExampleSwift
is an app written in Swift that provides a showcase test ground.
EarlGreyExampleTests
and EarlGreyExampleSwiftTests
are test targets that exercise different functionalities provide by EarlGrey, written in Objective-C and Swift.
Execute gem install earlgrey
then pod install
from the directory where you have downloaded the source of the example, then open EarlGreyExample.xcworkspace
to open the example in xcode. Ensure that your version of CocoaPods is upgraded to the latest 1.x version since this project uses the 1.0.0 syntax. You can get the latest CocoaPods release version by running gem install cocoapods
.
Run the tests that you want to see in action.