My project has the run-of-the-mill HTTP calls to fetch XML files, parsing the XML files, and creating domain objects. Those objects are later used in the actions and services of the Android app.
I'd like to isolate that code. I also want to write tests for it. What are some good ways of doing this?
Creating an Android Library doesn't seem appropriate. The tests would have to be in a separate project. And there are no services or activities in the extracted HTTP and XML related code. So the test suite doesn't have to be an Android test suite, it could be regular JUnit tests.
Note: I'm new to both Java and Android.