Contents

ExitStatus

An enumeration describing possible status a process will report on exit.

Declaration

enum ExitStatus

Overview

You can convert an instance of this type to an instance of ExitTest.Condition using init(_:). That value can then be used to describe the condition under which an exit test is expected to pass or fail by passing it to expect(processExitsWith:observing:_:sourceLocation:performing:) or require(processExitsWith:observing:_:sourceLocation:performing:).

Topics

Enumeration Cases

See Also

Checking how processes exit