Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.09 KB

ios-simulator-test.md

File metadata and controls

20 lines (14 loc) · 1.09 KB

(iOS) Run tests on a simulator

Description

Run unit or UI tests of an iOS app on a simulator.

Instructions

  1. Add an Xcode Test for iOS Step. Override any of the following inputs if needed:
    • Project path: The default value is $BITRISE_PROJECT_PATH and in most cases you don't have to change it.
    • Scheme: The default value is $BITRISE_SCHEME, this variable stores the scheme that you set when adding the app on Bitrise. You can specify a different scheme if you want but it must be a shared scheme.
    • Device destination specifier (default: platform=iOS Simulator,name=iPhone 8 Plus,OS=latest).
  2. Add a Deploy to Bitrise.io - Apps, Logs, Artifacts Step that makes the test results available in the Test Reports add-on. The failed tests will be also available under the Test Results tab on the build details page.

bitrise.yml

- xcode-test@5: {}
- deploy-to-bitrise-io@2: {}