---
title: ExitTest.Result
framework: testing
role: symbol
role_heading: Structure
path: testing/exittest/result
---

# ExitTest.Result

A type representing the result of an exit test after it has exited and returned control to the calling test function.

## Declaration

```swift
struct Result
```

## Mentioned in

Exit testing

## Overview

Overview Both expect(processExitsWith:observing:_:sourceLocation:performing:) and require(processExitsWith:observing:_:sourceLocation:performing:) return instances of this type.

## Topics

### Instance Properties

- [exitStatus](testing/exittest/result/exitstatus.md)
- [standardErrorContent](testing/exittest/result/standarderrorcontent.md)
- [standardOutputContent](testing/exittest/result/standardoutputcontent.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
