---
title: isPassing
framework: testing
role: symbol
role_heading: Instance Property
path: testing/expectation/ispassing
---

# isPassing

Whether the expectation passed or failed.

## Declaration

```swift
var isPassing: Bool
```

## Discussion

Discussion An expectation is considered to pass when its condition evaluates to true. If it evaluates to false, it fails instead.
