---
title: exitStatus
framework: testing
role: symbol
role_heading: Instance Property
path: testing/exittest/result/exitstatus
---

# exitStatus

The exit status reported by the process hosting the exit test.

## Declaration

```swift
var exitStatus: ExitStatus
```

## Mentioned in

Exit testing
