---
title: interactive
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileproviderdomain/testingmodes-swift.struct/interactive
---

# interactive

A testing mode where the extension can deterministically test asynchronous operations.

## Declaration

```swift
static var interactive: NSFileProviderDomain.TestingModes { get }
```

## Discussion

Discussion Disable the system’s automatic scheduling and execution of operations. Instead, the File Provider extension can manually determine the order of execution. This testing mode enables the following synchronous methods: The interactive testing mode expects the File Provider extension to repeat the following steps while running tests: Call listAvailableTestingOperations()to get the list of outstanding operations. Select the next set of operations required by your test. Call run(_:)to execute those operations. The interactive testing mode also disables some of the File Provider extension’s crash guarantees. For example, the system may lose any event that it hasn’t yet ingested.

## See Also

### Accessing Modes

- [alwaysEnabled](fileprovider/nsfileproviderdomain/testingmodes-swift.struct/alwaysenabled.md)
