[iOS] test UI with google/EarlGrey

This morning, Google published a blog named EarlGrey – iOS Functional UI Testing Framework.

They also opened their UI Testing framework in the article.

https://github.com/google/EarlGrey

I tried a demo packaged in the repository.

https://github.com/google/EarlGrey/tree/master/Demo/EarlGreyExample

The framework looks using accessibility inspector . So, we can see the inspector on simulator when I run test. See the following.

スクリーンショット 2016-02-17 23.22.59

Hm…

If this library separate with production code completely, this library will be one of the cool framework for UI Test, I suppose.

(This framework support over iOS8.x. So, If you support iOS7, you can’t use the framework. See https://github.com/google/EarlGrey/blob/master/docs/backward-compatibility.md )

Advertisements

2 thoughts on “[iOS] test UI with google/EarlGrey

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s