I have an existing ios application that needs UI tests. I have tried a number of existing libraries and so far everything has been a dead end. The only solutions I have seen thus far involve adding test specific functions to the production code and enabling/disabling them with launch arguments.
Does anyone know of a good way to mock out back-end network calls without polluting my production code with test logic?
So far I have tried:
-Relies on swizzling, which has no effect in UI tests.
-Does not allow upload (PUSH, PUT) requests to be mocked.