awslabs/aws-device-farm-xctest-ui-tests-for-ios-sample-app

Name: aws-device-farm-xctest-ui-tests-for-ios-sample-app

Owner: Amazon Web Services - Labs

Owner: AWS Samples

Description: null

Created: 2016-09-08 22:52:16.0

Updated: 2017-09-05 01:35:31.0

Pushed: 2017-05-11 21:52:21.0

Homepage: null

Size: 13096

Language: Objective-C

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

XCTestUI Sample Tests for AWS Device Farm iOS Sample App

This is an XCTest UI test suite that tests some basic functionalities of the AWS Device Farm iOS sample app.

Getting Started

In order to run this app within Device Farm you will need to create a local copy of this repository and build the application from source.

Building Project with Xcode 7
  1. Select the AWSDeviceFarmiOSReferenceApp target.
  2. Select Generic iOS Device as our build target.
  3. Click Product > Build For > Testing.
Packing and Creating XCTest UI Test Runner
  1. Go into your build directory: `~/Library/Developer/Xcode/DerivedData/ProjectName/Build/Products/Debug-iphoneos` or if you have a custom build directory, go to that location.
  2. Create a new directory named “Payload”
  3. Move the “*-Runner.app” file into the “Payload” folder
  4. Right click the Payload folder > Compress.
  5. Rename “Payload.zip” to “test_runner.ipa”.
Testing on Device Farm

Follow the steps in the official AWS Device Farm documentation for XCTest UI Testing.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.