---
title: options
framework: xctest
role: symbol
role_heading: Instance Property
path: xctest/xctkvoexpectation/options
---

# options

The key-value observing options the expectation uses when registering for observation.

## Declaration

```swift
var options: NSKeyValueObservingOptions { get }
```

## See Also

### Expectation properties

- [keyPath](xctest/xctkvoexpectation/keypath.md)
- [observedObject](xctest/xctkvoexpectation/observedobject.md)
- [expectedValue](xctest/xctkvoexpectation/expectedvalue.md)
