# tuist test case update

Updates a test case.

## Arguments

### test-case-identifier

**Environment variable** `TUIST_TEST_CASE_UPDATE_IDENTIFIER`

The test case identifier. Either a UUID or the format Module/Suite/TestCase (or Module/TestCase).

```bash
tuist test case update [test-case-identifier]
```

### state `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_STATE`

The new state for the test case.

```bash
tuist test case update --state [state]
```

### flaky `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_FLAKY`

Mark the test case as flaky (--flaky) or not flaky (--no-flaky).

```bash
tuist test case update --flaky
```

### no-flaky `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_FLAKY`

Mark the test case as flaky (--flaky) or not flaky (--no-flaky).

```bash
tuist test case update --no-flaky
```

### project `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_PROJECT`

The full handle of the project. Must be in the format of account-handle/project-handle.

```bash
tuist test case update --project [project]
tuist test case update -P [project]
```

### path `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_PATH`

The path to the directory or a subdirectory of the project.

```bash
tuist test case update --path [path]
tuist test case update -p [path]
```

### json `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_JSON`

The output in JSON format.

```bash
tuist test case update --json
```

### no-json `Optional`

**Environment variable** `TUIST_TEST_CASE_UPDATE_JSON`

The output in JSON format.

```bash
tuist test case update --no-json
```
