[aerogear-dev] Android integration tests and modules
bruno at abstractj.org
Mon Aug 18 15:22:00 EDT 2014
On 2014-08-18, Summers Pittman wrote:
> Ideally we would like to quit using the Robolectric Android stubs and
> begin using Google's Android APIs for linking and testing. This is one
> of the reasons that the unit tests havn't been brought over to the
> modules YET. Over the weekend (between family duties and internet
> issues) I did a lot of research and coding towards moving our tests into
> the module packages. With the release of X86 emulators and stability
> Genymotion, I think that using solely integration test projects for our
> testing is now doable.
> The Android SDK (current, ANT/Eclipse based) way is to have a separate
> test project. The Android SDK (future Gradle based) way is to have your
> tests in a test package. The maven way (Maven based Android builds) is
> to have a parent project with two children: one child being code and the
> other child being tests.
> Currently we have one BIG integration test project which contains all of
> our integration tests. I think that we should move the tests out of our
> monolithic project and into the modules where they probably belong. I
> also propose that we make each module in the two child project pattern
> that then Maven based builds recommend. When it is time to move to
> Gradle then we can just fiddle with sourceSets and kill the Maven build.
> Summers Pittman
> >>Phone:404 941 4698
> >>Java is my crack.
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
More information about the aerogear-dev