Revamping the Android testing pipeline at Dropbox
Dec 1, 2020Will Clausen

Summary
This post details the revamp of Dropbox's Android testing pipeline, reducing CI runtime from 75 minutes to 25 minutes. Key contributions include: implementing an Affected Module Detector to run only tests relevant to code changes, migrating from custom tooling to industry-standard tools like Gradle and Firebase Test Lab, and rearchitecting CI jobs for better parallelism. The team learned from the AndroidX team's open-source implementation of an Affected Module Detector to solve the problem of selectively scaling the pipeline based on module dependencies.