All Projects → google → Earlgrey

google / Earlgrey

Licence: apache-2.0
🍵 iOS UI Automation Test Framework

Programming Languages

objective c
16641 projects - #2 most used programming language
ruby
36898 projects - #4 most used programming language
swift
15916 projects
shell
77523 projects
HTML
75241 projects
CSS
56736 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Earlgrey

Tlsfuzzer
SSL and TLS protocol test suite and fuzzer
Stars: ✭ 335 (-93.74%)
Mutual labels:  automation, testing-tools, test-framework
Pywinauto
Windows GUI Automation with Python (based on text properties)
Stars: ✭ 3,175 (-40.69%)
Mutual labels:  automation, testing-tools, ui-automated-tests
pywinauto recorder
A record-replay tool to automate GUI via pywinauto
Stars: ✭ 48 (-99.1%)
Mutual labels:  testing-tools, ui-automated-tests
Telegraf-Test
Telegraf Test - Simple Test ToolKit of Telegram Bots
Stars: ✭ 22 (-99.59%)
Mutual labels:  test-framework, testing-tools
estj
EstJ is my own test framework!
Stars: ✭ 13 (-99.76%)
Mutual labels:  test-framework, testing-tools
EyeJS
A JavaScript testing framework for the real world
Stars: ✭ 68 (-98.73%)
Mutual labels:  test-framework, testing-tools
carina
Carina automation framework: Web, Mobile, API, DB etc testing...
Stars: ✭ 652 (-87.82%)
Mutual labels:  testing-tools, ios-test
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (-99.63%)
Mutual labels:  test-framework, testing-tools
Taiko
A node.js library for testing modern web applications
Stars: ✭ 2,964 (-44.63%)
Mutual labels:  automation, testing-tools
bron
🏃‍♂️ Fast & tiny test runner for Node.js
Stars: ✭ 17 (-99.68%)
Mutual labels:  test-framework, testing-tools
Nut.js
Native UI testing / controlling with node
Stars: ✭ 309 (-94.23%)
Mutual labels:  automation, testing-tools
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (-99.23%)
Mutual labels:  test-framework, testing-tools
evolutio
ab testing framework with automated code removing
Stars: ✭ 15 (-99.72%)
Mutual labels:  test-framework, testing-tools
PixelTest
Fast, modern, simple iOS snapshot testing written purely in Swift.
Stars: ✭ 56 (-98.95%)
Mutual labels:  test-framework, testing-tools
Mocha
☕️ simple, flexible, fun javascript test framework for node.js & the browser
Stars: ✭ 20,986 (+292.04%)
Mutual labels:  testing-tools, test-framework
IO-TESTER
A functional test framework
Stars: ✭ 32 (-99.4%)
Mutual labels:  test-framework, testing-tools
Allure Docker Service
This docker container allows you to see up to date reports simply mounting your "allure-results" directory in the container (for a Single Project) or your "projects" directory (for Multiple Projects). Every time appears new results (generated for your tests), Allure Docker Service will detect those changes and it will generate a new report automatically (optional: send results / generate report through API), what you will see refreshing your browser.
Stars: ✭ 194 (-96.38%)
Mutual labels:  automation, testing-tools
Grizzly
A cross-platform browser fuzzing framework
Stars: ✭ 234 (-95.63%)
Mutual labels:  automation, test-framework
FlaUIRecorder
UIAutomation test recorder for using with FlaUI library.
Stars: ✭ 23 (-99.57%)
Mutual labels:  testing-tools, ui-automated-tests
Testfx
MSTest V2 framework and adapter
Stars: ✭ 391 (-92.7%)
Mutual labels:  testing-tools, test-framework

Deprecation: EarlGrey 1.0 is deprecated in favor of EarlGrey 2.0 which integrates it with XCUITest. Please look at the earlgrey2 branch. EarlGrey 1.0 is not being maintained internally with iOS 13.

EarlGrey

Apache License CC-BY 4.0 License Build Status Carthage compatible CocoaPods Gem Version

For EarlGrey 2, please go to earlgrey2 branch.

EarlGrey is a native iOS UI automation test framework that enables you to write clear, concise tests.

With the EarlGrey framework, you have access to enhanced synchronization features. EarlGrey automatically synchronizes with the UI, network requests, and various queues; but still allows you to manually implement customized timings, if needed.

EarlGrey’s synchronization features help to ensure that the UI is in a steady state before actions are performed. This greatly increases test stability and makes tests highly repeatable.

EarlGrey works in conjunction with the XCTest framework and integrates with Xcode’s Test Navigator so you can run tests directly from Xcode or the command line (using xcodebuild).

Getting Started

The EarlGrey documentation for users is located in the EarlGrey/docs folder. To get started, review the EarlGrey features, check for backward compatibility, and then install/run EarlGrey with your test target. After everything is configured, take a look at the EarlGrey API and start writing your own tests.

Getting Help

If you need help, several resources are available. First check the FAQ. If you have more questions after reading the FAQ, see Known Issues. You can bring more specific issues to our attention by asking them on stackoverflow.com using the #earlgrey tag. You can also start new discussions with us on our Google group or request to join our slack channel.

Analytics

To prioritize and improve EarlGrey, the framework collects usage data and uploads it to Google Analytics. More specifically, the framework collects the MD5 hash of Bundle ID, Test Class Names and Test Method Names. This information allows us to measure the volume of usage. For more detailed information about our analytics collection, please peruse the GREYAnalytics.m file which contains the implementation details. If they wish, users can choose to opt out by disabling the Analytics config setting in their test’s - (void)setUp method:

In Objective-C:

// Disable analytics.
[[GREYConfiguration sharedInstance] setValue:@(NO) forConfigKey:kGREYConfigKeyAnalyticsEnabled];

In Swift:

// Disable analytics.
GREYConfiguration.sharedInstance().setValue(false, forConfigKey: kGREYConfigKeyAnalyticsEnabled)

For Contributors

Please make sure you’ve followed the guidelines in CONTRIBUTING.md before making any contributions.

Setup an EarlGrey Project

  1. Clone the EarlGrey repository from GitHub:
git clone https://github.com/google/EarlGrey.git
  1. After you have cloned the EarlGrey repository, download all the dependencies using setup-earlgrey.sh.
  2. After the script completes successfully, open EarlGrey.xcodeproj and ensure that all the targets build.
  3. You can now use EarlGrey.xcodeproj to make changes to the framework.

Add and Run Tests

Unit Tests

To add unit tests for EarlGrey, use UnitTests.xcodeproj located at Tests/UnitTests. To run all unit tests, select the UnitTests Scheme and press Cmd+U.

Functional Tests

To add functional tests for EarlGrey, use the FunctionalTests.xcodeproj located at Tests/FunctionalTests. To run all functional tests, select the FunctionalTests Scheme and press Cmd+U.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].