desktop
desktop copied to clipboard
End-to-End File Provider Tests
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.