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 variable TUIST_TEST_SHARD_MAX
Maximum number of shards to distribute tests across.
tuist xcodebuild build-for-testing --shard-max [shard-max]
shard-min Optional#
Environment variable TUIST_TEST_SHARD_MIN
Minimum number of shards.
tuist xcodebuild build-for-testing --shard-min [shard-min]
shard-total Optional#
Environment variable TUIST_TEST_SHARD_TOTAL
Exact number of shards (mutually exclusive with --shard-min/--shard-max).
tuist xcodebuild build-for-testing --shard-total [shard-total]
shard-max-duration Optional#
Environment variable TUIST_TEST_SHARD_MAX_DURATION
Target maximum duration per shard in milliseconds.
tuist xcodebuild build-for-testing --shard-max-duration [shard-max-duration]
shard-granularity Optional#
Environment variable TUIST_TEST_SHARD_GRANULARITY
Sharding granularity level: module (default) or suite.
tuist xcodebuild build-for-testing --shard-granularity [shard-granularity]
shard-reference Optional#
Environment variable TUIST_SHARD_REFERENCE
Explicit shard reference. Derived from environment variables for supported CI providers.
tuist xcodebuild build-for-testing --shard-reference [shard-reference]
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'
tuist xcodebuild build-for-testing [passthrough-xcodebuild-arguments]