$30 off During Our Annual Pro Sale. View Details »

Introducing Espresso Test Recorder - AndroidListener Chicago, June 2016

Introducing Espresso Test Recorder - AndroidListener Chicago, June 2016

A quick look at the new Espresso test recorder.

The presentation was mostly a demo of how this doesn't quite work correctly in 2.2 Preview 3. Results of the recording are here: https://github.com/designatednerd/Wino/blob/master/app/src/androidTest/java/com/designatednerd/wino/activity/WineTastingActivityTest.java

Ellen Shapiro
PRO

June 16, 2016
Tweet

More Decks by Ellen Shapiro

Other Decks in Technology

Transcript

  1. Introducing The
    Espresso
    Test Recorder
    by Ellen Shapiro
    Lead Mobile Developer, SpotHero
    AndroidListener, June 2016

    View Slide

  2. Espresso Test Recorder: What is?
    — Writing UI tests is good, but a pain in the ass.

    View Slide

  3. It is Beta.
    — Introduced a few weeks ago at I/O 2016
    — Released one week ago as part of Android Studio
    Canary Build 2.2, Preview 3
    — Tap through your application and record your
    actions, add assertions.

    View Slide

  4. It is
    REALLY
    Beta.

    View Slide

  5. DEMO

    View Slide

  6. Links!
    — Android Studio Canary Builds: http://
    tools.android.com/download/studio/canary/latest
    — What's new in Android Development Tools - Google
    I/O 2016: https://www.youtube.com/watch?
    v=csaXml4xtN8
    — Espresso Documentation: https://google.github.io/
    android-testing-support-library/docs/espresso/
    index.html

    View Slide