I have setup an android test project for my application in ECLIPSE. My test project depends on some external libraries for Mock behavior.
I can add dependencies to my test project in following ways:
If I put all the dependency jar files to my 'application\libs' folder, but they will be bundled with my application APK, irrespective of that my source does not depend on the these jars.
If I put all the dependency jar files to my 'testProject\libs' folder, run test from ECLIPSE and success but logcat keeps givieng me warning of not finding classes. and i have read on SO that ant ingnores 'test\libs'? so is that the same case with ADT also.
So is it good practice to put external dependencies of test project in 'test\libs' only?
NOTE: In both the cases my test get run successfully But I am curious to get the right way.