automated tests for android apps

Download Automated Tests for Android apps

If you can't read please download the document

Upload: clement-quaquin

Post on 20-Feb-2017

334 views

Category:

Engineering


0 download

TRANSCRIPT

Automated Tests for Android apps

Who is that guy?

Clement QuaquinTwitter: @openkwaky

Android Lead developer @Equasoft5 years XP in Android app development

Apps : Xivo / SmartGPS / FdjScan / EuroMillions / WhoamI? / ChanelUV / KurioStore / DartyStore / FranceBleu / RatingReminder lib / ...

Why writing Tests?

Minimize regressions

Optimize testing time by iteration

Improve code quality #qualitymatters

Monitor performance

TDD

Test levels

Test levels for an app:

Unit test (independant and modular code)

Integration test (code inspection)

Functionnal test (check user stories)

Acceptance test (check project's compliance to initial requests)

Test levels

Android tests

Local unit tests(on JVM)

in src/testInstrumentation tests(require Android device)

in src/androidTest

Unit tests

Test small modular code

Should be fast (