tuist xcodebuild build-for-testing
tuist xcodebuild build-for-testing extends the xcodebuild CLI build-for-testing action with insights.
Arguments#
shard-max Optional#
Environment variableTUIST_TEST_SHARD_MAX
Maximum number of shards to distribute tests across.
tuistxcodebuildbuild-for-testing--shard-max[shard-max]shard-min Optional#
Environment variableTUIST_TEST_SHARD_MIN
Minimum number of shards.
tuistxcodebuildbuild-for-testing--shard-min[shard-min]shard-total Optional#
Environment variableTUIST_TEST_SHARD_TOTAL
Exact number of shards (mutually exclusive with --shard-min/--shard-max).
tuistxcodebuildbuild-for-testing--shard-total[shard-total]shard-max-duration Optional#
Environment variableTUIST_TEST_SHARD_MAX_DURATION
Target maximum duration per shard in milliseconds.
tuistxcodebuildbuild-for-testing--shard-max-duration[shard-max-duration]shard-granularity Optional#
Environment variableTUIST_TEST_SHARD_GRANULARITY
Sharding granularity level: module (default) or suite.
tuistxcodebuildbuild-for-testing--shard-granularity[shard-granularity]shard-reference Optional#
Environment variableTUIST_SHARD_REFERENCE
Explicit shard reference. Derived from environment variables for supported CI providers.
tuistxcodebuildbuild-for-testing--shard-reference[shard-reference]shard-skip-upload Optional#
Environment variableTUIST_TEST_SHARD_SKIP_UPLOAD
Skip uploading test products to remote storage. Use when you provide test products to shard runners yourself, for example via shared volumes.
tuistxcodebuildbuild-for-testing--shard-skip-uploadno-shard-skip-upload Optional#
Environment variableTUIST_TEST_SHARD_SKIP_UPLOAD
Skip uploading test products to remote storage. Use when you provide test products to shard runners yourself, for example via shared volumes.
tuistxcodebuildbuild-for-testing--no-shard-skip-uploadshard-archive-path Optional#
Environment variableTUIST_TEST_SHARD_ARCHIVE_PATH
Path where Tuist should write the optimized shard archive instead of uploading test products to remote storage.
tuistxcodebuildbuild-for-testing--shard-archive-path[shard-archive-path]passthrough-xcodebuild-arguments Optional#
Arguments that will be passed through to the xcodebuild CLI. All arguments are forwarded to xcodebuild. Example: tuist xcodebuild build-for-testing -scheme MyAppTests -destination 'platform=iOS Simulator,name=iPhone 15'
tuistxcodebuildbuild-for-testing[passthrough-xcodebuild-arguments]