Run unit or UI tests of an iOS app on a simulator.
- 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
).
- Project path: The default value is
- 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.
- xcode-test@5: {}
- deploy-to-bitrise-io@2: {}