23. 23
Not an archetype
(see akquinet : http://goo.gl/O46LIw)
Only samples
Do not use everything !
Pick up what you need !
24. 24
Return of
real life experience
Maven
Jenkins
Sonar
(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
25. 25
Lessons
learned
A
laborious
development
environment
:
eclipse
+
maven
+
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,
…)
26. 26
Lessons
learned
A
robust
development
environment
:
eclipse
+
maven
+
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
34. Android offers
34
lots of quality tools
lots of testing methods
rapid testing
Everything gets easier
to use
Build rock solid apps
35. 35
Thank You !
Any Question ?
stephanenicolas
jeromevdl
snicolas
@jeromevdl
Stéphane Nicolas &
Jérôme Van Der Linden
+stephane
nicolas
+jerome
van
der
linden