I use JUnit and JMock for testing in an Android project. Lately I’ve noticed that the Android builder included in Eclipse seems to package them as part of my Android application. Is there a way to tell Eclipse/Android plugin to ignore source folders and libraries when packaging .apk?
Share
Do you have the test class in the same project as your app? Try to create a seperate project Android Test Project project for the test stuff (File | New | Project | Android Test Project). This is how I run my tests.