From what I've read, it is possible for Robolectricto intercept the Http Requests that the application in
testing does. So I initially planned to capture these Http Requests and then modify their values by intercepting the http responses through another Robolectric method .setDefaultHttpResponse. The problem is, I am using Robotium already in the app and I need these integration tests and Robolectric does not run on android devices mainly because of this Log I received :
I really needed Robolectric's feature to capture outgoing http requests. That is the only thing I need from it. So knowing that it will not go well with my current implementation of my test cases and how I need them, I am kind of lost how else I am going to test them. My app has different architecture that is quite not unit test ready and I can't modify it's code. It sends HttpRequests on it's onCreate method and it will then modify the layout depending on what the http response is.
Are there any frameworks that could do this that would go well with robotium integration tests?