# tuist xcodebuild test-without-building

tuist xcodebuild test-without-building extends the xcodebuild CLI test action with insights.

## Arguments

### skip-quarantine `Optional`

When passed, the quarantine feature is disabled and tests run regardless of whether they are quarantined on the server.

```bash
tuist xcodebuild test-without-building --skip-quarantine
```

### passthrough-xcodebuild-arguments `Optional`

Arguments that will be passed through to the xcodebuild CLI. All arguments are forwarded to xcodebuild. Example: tuist xcodebuild test-without-building -scheme MyAppTests -destination 'platform=iOS Simulator,name=iPhone 15' -testConfiguration Debug

```bash
tuist xcodebuild test-without-building [passthrough-xcodebuild-arguments]
```

### shard-index `Optional`

The zero-based shard index to execute.

```bash
tuist xcodebuild test-without-building --shard-index [shard-index]
```

### shard-reference `Optional`

**Environment variable** `TUIST_SHARD_REFERENCE`

Explicit shard reference. Derived from environment variables for supported CI providers.

```bash
tuist xcodebuild test-without-building --shard-reference [shard-reference]
```

### shard-plan-id `Optional`

**Environment variable** `TUIST_SHARD_PLAN_ID`

Exact shard plan identifier emitted by the build-for-testing job.

```bash
tuist xcodebuild test-without-building --shard-plan-id [shard-plan-id]
```

### shard-archive-path `Optional`

**Environment variable** `TUIST_TEST_SHARD_ARCHIVE_PATH`

Path to a locally managed shard archive. Tuist extracts this archive instead of downloading test products from remote storage.

```bash
tuist xcodebuild test-without-building --shard-archive-path [shard-archive-path]
```

### inspect-mode `Optional`

**Environment variable** `TUIST_INSPECT_TEST_MODE`

Inspect mode: 'local' parses the xcresult on this machine, 'remote' uploads it for server-side processing, 'off' skips test analysis entirely (no xcresult parsing, archiving, or upload — the Tests dashboard is not populated). When omitted, defaults to 'remote' for tuist-hosted instances and 'local' for self-hosted ones.

```bash
tuist xcodebuild test-without-building --inspect-mode [inspect-mode]
```

### snapshots `Optional`

**Environment variable** `TUIST_TEST_SNAPSHOTS`

Export the images your SwiftUI previews render with the tuist/snapshots library (TEST_RUNNER_SNAPSHOTS_EXPORT_DIR) and upload them to Tuist after the run, which compares them with their baseline and fails the run when they changed and nobody approved the changes. On by default in CI for projects connected to Tuist; a run that renders no images uploads nothing. Pass --snapshots to also upload from a local run, or --no-snapshots to turn it off.

```bash
tuist xcodebuild test-without-building --snapshots
```

### no-snapshots `Optional`

**Environment variable** `TUIST_TEST_SNAPSHOTS`

Export the images your SwiftUI previews render with the tuist/snapshots library (TEST_RUNNER_SNAPSHOTS_EXPORT_DIR) and upload them to Tuist after the run, which compares them with their baseline and fails the run when they changed and nobody approved the changes. On by default in CI for projects connected to Tuist; a run that renders no images uploads nothing. Pass --snapshots to also upload from a local run, or --no-snapshots to turn it off.

```bash
tuist xcodebuild test-without-building --no-snapshots
```

### snapshot-set `Optional`

**Environment variable** `TUIST_TEST_SNAPSHOT_SET`

The snapshot set the uploaded snapshot images belong to, such as 'ios-iphone': builds are compared within a set. Defaults to the scheme.

```bash
tuist xcodebuild test-without-building --snapshot-set [snapshot-set]
```
