arrow_back Testing complex apps using Espresso (UI Testing)
Android Test Lab with Jenkins, Espresso & Spoon
Submitted by Shivaraj Patil (@shivpatil) on Monday, 4 July 2016
Full talk (40 minutes)
It’s difficult to write good & working UI tests, most of the time flaky tests put us in trouble and takes lot of the time fixing tests.
In this talk I am gonna demonstrate how we can setup a fully automated UI test lab at your workplace, write good Espresso UI tests for complex apps & run all your tests on physical as well as virtual devices. We will continuously integrate all tests with jenkin’s & spoon so that whenever you implement a new feature & do a git commit jenkins will download the project, build it, distribute it & runs all your tests on all connected devices parallally and send the results directly to your inbox with nice report showing all devices & tests passed or failed, for failed tests we will get full error report, logs, device details, screenshots etc to your email so that you can fix the issue.
- Custom Idling resources
- Espresso Intents & Advanced Intents
- Hamcrest matchers
- Testing Adapters
- Testing Views
- Basics of creating your own custom matcher
- Espresso Recorder
- Robotium vs Espresso
- Jenkins setup
- Hook jenkins + Github integration + spoon
- Jenkins plugins
- Setup jenkins with spoon
- Setup Email.
- Setup spoon
- Setup email reporting
Android Studio 1.5+
Self taught Android developer, worked at Triveous Skyro voice recorder(https://play.google.com/store/apps/details?id=com.triveous.recorder).
Created continuous integrated Skyro tests with Jenkins & spoon.
Conducted Android workshops.