Issue
I'm trying to create an Android test project from within my main project. Exactly similar to this question Android: How to use test project within main project (I'm trying to revive this because this question is outdated and I'm still unable to find an answer).
Basically I want to reproduce the way Android tests are. They are literally just a /tests/ directory within the main project "see link for exact layout."
The main reason we want this is to be able reduce the amount of projects so we don't need 2 root folders for every project. (aka the test project and the real project).
I'm free to use whatever for the build since, but I'm assuming that nant is the way to go to automatically run tests.
Any help would be great, thanks.
EDIT: Note the problem with Eclipse is that is does not easily give this option (at least I haven't found it). You can navigate to the directory you want and create a /tests/ but it will also bring along another project attached and I ran into some linking issues doing that.)
Solution
Wasn't able to find this option in Eclipse. However you can use the command line tools in order to build the test project where you want it.
~/android-main-project$ android create test-project -n tests -p ./tests -m ../
Answered By - Frank Sposaro
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.