desktop icon indicating copy to clipboard operation
desktop copied to clipboard

End-to-End File Provider Tests

Open i2h3 opened this issue 3 weeks ago • 0 comments

Evaluate the possibility and efficiency of using Xcode UI tests for end-to-end testing the file provider extension. I have implemented proof-of-work in past projects. This leverages the Xcode UI tests to programmatically control Finder through accessibility features to interact with our file provider extension. The UI test code then also can programmatically interact with the Nextcloud server directly through API calls to set up and assert server state.

Hurdles

  • A lot of Finder can be controlled by localized labels only. Hence one requirement for the test environment is English being chosen as the display language of the system.
  • How to clean and set up the client configuration with a test account automatically.

i2h3 avatar Dec 08 '25 08:12 i2h3