If you look at the link I provided, it specifies otherwise:
"You can create a test project anywhere in your file system, but *the best
approach is to add the test project so that its root directory tests/ is at
the same level as the src/ directory of the main application's projec*t.
This helps you find the tests associated with an application. For example,
if your application project's root directory is MyProject, then you should
use the following directory structure:
MyProject/
AndroidManifest.xml
res/
... (resources for main application)
src/
... (source code for main application) ...
tests/
AndroidManifest.xml
res/
... (resources for tests)
src/
... (source code for tests)
"
That is why I went down this path. Looks like some (most maybe) do it the
easy/separate way but some (Mark) have gotten it to work the suggested way.
On Monday, December 10, 2012 3:04:30 PM UTC-6, Lew wrote:
>
>
>
> On Monday, December 10, 2012 8:35:28 AM UTC-8, darrinps wrote:
>>
>> Thanks.
>>
>> I was beating my head against the wall trying to do it the other way
>> after reading the recommendation here:
>> http://developer.android.com/tools/testing/testing_android.html
>>
>> Much easier to just keep them apart.
>>
>
> I don't understand. That is the very page that tells you to keep them
> apart.
> "A test project is a directory or Eclipse project in which you create the
> source code,
> manifest file, and other files for a test package."
>
> Which is the way you call "the other way"? Your message is lost in the
> antecedents.
>
> If you were following the instructions on the page you cite, you'd be
> creating a separate
> test project for each app project.
>
>
>
>> Larry Meadors wrote:
>>>
>>> I believe that is "The Android Way" - you have your application in one
>>> project and your tests in another.
>>>
>>>
> As explained on the cited page.
>
> --
> Lew
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en