[android-developers] Re: Excluding test files from the compiled Android app

2009-06-06 Thread Brett Chabot
Hi Gustav: I'd recommend creating a second Android app project that contains your tests, and add the original app project to the test project's build path. As an example, lets say your existing app is called Foo. Do the following steps: 1. Create a new Android Project called FooTest. -

[android-developers] Re: Excluding test files from the compiled Android app

2009-06-05 Thread Steve
I've only dabbled in the JUnit with Android 1.5 so far, but I think that if you take a look at the API Demos app you will see that they have done exactly what you suggested (move the test classes into a folder called tests). I'm not on my dev machine right now so I can't confirm but I think you