I have separated most of my android game code into a separate reusable 'Java Project'. The 'Android project' basically starts a surface View and then loads a new thread containing necessary object from my external 'Java Project'.
How could I run JUnit tests on this considering the external 'Java Project' needs an application context.
I don't want to do the unit testing in the Android Project because I may have 3+ different projects all using the code from the 'Java Project'.