---
title: listAvailableTestingOperations()
framework: fileprovider
role: symbol
role_heading: Instance Method
path: fileprovider/nsfileprovidermanager/listavailabletestingoperations()
---

# listAvailableTestingOperations()

Lists all the operations that are ready for scheduling.

## Declaration

```swift
func listAvailableTestingOperations() throws -> [any NSFileProviderTestingOperation]
```

## Discussion

Discussion important: Before calling this method, you must set the domain’s testingModes property to include the interactive value. The system waits for all the pending disk and working set updates before returning the list of available operations. The operations that it returns may become invalid if the system receives new events, or when you schedule and execute operations using the run(_:) method.

## See Also

### Testing

- [run(_:)](fileprovider/nsfileprovidermanager/run(_:).md)
