# Outcome

`import { Outcome } from "destack:test";`

Test run outcome.

```ds title="Outcome"
export enum Outcome {
    Pending = 1,
    Passed = 2,
    Failed = 3,
    Skipped = 4,
    TimedOut = 5,
    Cancelled = 6,
    Invalid = 7,
}
```

[language/library/src/test/run.ds:12:27](https://github.com/destack-sh/destack/blob/main/language/library/src/test/run.ds#L12-L27)

## Variants

### `Pending = 1`

The run has not started.

### `Passed = 2`

The run completed successfully.

### `Failed = 3`

The run found one or more issues.

### `Skipped = 4`

The run was skipped.

### `TimedOut = 5`

The run exceeded its deadline.

### `Cancelled = 6`

The run was cancelled.

### `Invalid = 7`

The run definition was invalid.
