<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macOS: 11.3.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderManager/listAvailableTestingOperations()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "File Provider",
      "FileProvider"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileProviderManager(im)listAvailableTestingOperationsWithError:"
  },
  "title" : "listAvailableTestingOperations()"
}
-->

# listAvailableTestingOperations()

Lists all the operations that are ready for scheduling.

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

## Discussion

> Important:
> Before calling this method, you must set the domain’s ``doc://com.apple.fileprovider/documentation/FileProvider/NSFileProviderDomain/testingModes-swift.property`` property to include the ``doc://com.apple.fileprovider/documentation/FileProvider/NSFileProviderDomain/TestingModes-swift.struct/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(_:)`](/documentation/FileProvider/NSFileProviderManager/run(_:)) method.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)