Skip to content

This Time, There Will Be Code: A CI Workshop

Photo of Chris Pick
Hosted By
Chris P. and Russell C.
This Time, There Will Be Code: A CI Workshop

Details

We've talked about test automation before. Now let's break stuff. This event is organized as a coding workshop. We will provide a simple Jenkins environment, live test devices, and sample projects that build and run in that environment.

In order to focus efforts, the sample projects provided will be based on the following frameworks:

• UiAutomator

• Espresso 2.0

• Robolectric*

The code for the sample projects will be uploaded to the Seattle Android Developers Github repo (https://github.com/SeaDroids/CIWorkshopProjects) in the coming days and the Jenkins server will pull code from that repo. Bring your laptops, clone a sample project, and explore the capabilities of each framework. We will be meeting in a larger room with tables to sit at in groups so we can work together. The expectation is that participants will submit code to the repo, some test case ideas will be tried and run through the provided CI system so that everyone can see how the whole stack works. If you are planning on testing your own code apart from the provided sample projects, please do not use any proprietary code or include any sensitive information.

Russell Collins, the evening's Event Host, will be demoing and working with interested participants on using the Factory Pattern for handling fragmentation in UiAutomator tests that drive the Android system UI. This will be accompanied by a full sample project you can download which will run a test case against Google Keep. Here is a lengthy blog post (http://everybodytests.blogspot.com/2015/02/crushing-fragmentation-using-factory.html) on the topic which should get you primed. Lots of screenshots, a whole sample project, what's not to love?

*given the time and resource constrains, this framework may be excluded from the workshop. If there is interest, we can certainly revisit the topic at a future event.

Photo of Seattle Android Developers group
Seattle Android Developers
See more events
Floor 4 · Seattle, WA