-
Notifications
You must be signed in to change notification settings - Fork 2
xcode_test
Piotr Sękara edited this page May 29, 2020
·
4 revisions
Used to run tests in your project.
| Name | Description | Required | Type | Default |
|---|---|---|---|---|
| clean | Indicates whether build folder should be cleaned. | False | Bool | True |
| code_coverage | Indicates whether code coverage should be generated. | False | Bool | - |
| configuration | Build configuration. | False | String | - |
| device | The name of the simulator type you want to run tests on (e.g. 'iPhone 6') | False | String | - |
| flags | Build flags. | False | [String] | [] |
| project | Your project or workspace name. | True | String | - |
| scheme | Scheme that should be used. | True | String | - |
| skip_build | Indicates whether debug build should be skipped before test build. This means that if there is a built product in DerivedData, it will use it instead of recompiling your app. | False | Bool | False |
| settings | Custom settings that will be used. | False | Hash(String) | {} |
| Name | Description |
|---|---|
| XCODE_TEST_JSON_REPORT_PATH | Contains path to the JSON report file formatted with xcpretty. |
test:
default:
- xcode_test:
project: $(XCODEBUILD_PROJECT)
scheme: $(XCODEBUILD_SCHEME)
settings:
_BUILD_NUMBER: $(ENV:BITRISE_BUILD_NUMBER)
This wiki and the Highway README document contains a lot of information, please take your time and read these instructions carefully.