---
title: success
framework: testing
role: symbol
role_heading: Type Property
path: testing/exittest/condition/success
---

# success

A condition that matches when a process exits normally.

## Declaration

```swift
static var success: ExitTest.Condition { get }
```

## Mentioned in

Exit testing

## Discussion

Discussion This condition matches the exit code EXIT_SUCCESS.
