(PMD, checkstyle, findbugs, lint) Junit (Instrumenta[onTestCase) ~ 100 screens (phone + tablet) ~ 5 developers during only 5 months ~ 60k loc (java), 15k loc (xml) ~ 400 unit tests : not an excep[onal coverage (~ 30%) Built on each commit on Jenkins + Genymo[on 0 lint, pmd, findbugs, checkstyle viola[ons 1 sonar report generated each night with those metrics è An happy customer J 24
m2eclipse + android m2e connector è Many hours lost è Use IntelliJ ! A laborious execu[on environment : emulator è Too slow è Use Genymo[on (or at least a device) ! Not enough tests : è Instrumenta[onTestCase are too heavy/slow for Unit Tes[ng è Use Robolectric and/or think about MV* paOern è Keep Instrumenta[onTestCase for Android specific (Ac[vity, Services, …) Lessons learned 25
m2eclipse + android m2e connector è s[ll some problem with eclipse and maven integra[on About tests è Instrumenta[onTestCase are fast enough with GenyMo[on è Robolectric can’t give you enough confidence Lessons learned 26