We\'ve got a suite of UI tests for our app written using KIF which I\'d like to convert to use the new Xcode UI test framework.
The app is a client of a Rest AI whos
We've developed an embedded HTTP server in pure Swift, you can run the HTTP server with simple mock response handler in your test case, then pass the URL to the target app via environment variable like API_BASE_URL. I wrote an article about how to do it
Embedded web server for iOS UI testing
Basically there are two libraries, one is Embassy, it's the simple async HTTP server. Another one is Ambassador, a simple web framework for mocking API endpoints.