Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.26 KB

ios-device-testing.md

File metadata and controls

31 lines (21 loc) · 1.26 KB

(iOS) Run Tests on a Physical Device

Description

Run unit or UI tests on a physical device. Our device testing solution is based on Firebase Test Lab. You can find the resulting logs, videos and screenshots on Bitrise.

Prerequisites

  1. The source code is cloned and the dependencies (for example, Cocoapods, Carthage) are installed.
  2. You have code signing set up. See iOS Code Signing for more details.

Instructions

  1. Add an Xcode Build for testing for iOS Step.
  2. Add a [BETA] iOS Device Testing Step.
    • Setup code signing for the Step.
  3. Add a Deploy to Bitrise.io - Apps, Logs, Artifacts Step that makes the test results available in the Test Reports add-on.

bitrise.yml

- xcode-build-for-test@3:
    inputs:
    - automatic_code_signing: api_key
- virtual-device-testing-for-ios@1: {}
- deploy-to-bitrise-io@2: {}

Relevant Links