In order to update an existing Git submodule execute: (You might need permissions from Owner to get submodules)
git submodule update --init --recursive
git pull --recurse-submodules
To run UI test on real device, different profile is required to configure as UITest target runs on different process as different app.
For simulator, developer provisioning profile is ok. But if you want to run UI Tests on real devices, you need separate developer provisioning profile.
Project to implement Test Driven Development over an iOS App.
1. Introduction to Test-driven Development
2. Writing Your First Set of Unit Tests with Xcode
4. Applying TDD to the Model
13. Testing The User Interface
- Introduction
- Adding Support for UI Testing to your Project
- New Projects
- Existing Projects
- UI Test Classes
- Creating New Test Classes
- Changes to XCTest to Support UI Testing
- XCUIApplication
- XCUIDevice
- XCUIElementAttributes
- XCUIElementQuery and XCUIElementTypeQueryProvider
- Assertions
- UI Recording
- Waiting Before Asserting
- Putting It All Together
- Summary