My project has running HTTP requests to extract XML files, parse XML files, and create domain objects. These objects are later used in the actions and services of the Android application.
I would like to highlight this code. I also want to write tests for this. What are some good ways to do this?
Creating an Android library is not suitable. Tests should be in a separate project. And there are no services or activities in the extracted HTTP and XML code. Thus, the test suite does not have to be a test suite for Android, it can be ordinary JUnit tests.
Note. I am new to Java and Android.
source
share