Strava Dec 20, 2022

Optimizing Testing for Server-Driven Mobile Development at Strava

Article Summary

Strava's Android team hit a wall: testing server-driven UI meant wrestling with Charles Proxy crashes, EOF errors, and 3-4 minute build times. An intern decided to fix it.

Xin Yi Chen, a UC Berkeley intern on Strava's Multisport team, built an internal testing tool to streamline development of their server-driven mobile architecture. The article walks through the problem, refactoring challenges, and solution that cut testing friction significantly.

Key Takeaways

Critical Insight

A standalone testing application eliminated flaky proxy tools and halved build times for UI testing in Strava's server-driven mobile architecture.

The solution borrowed a page from iOS's playbook, but the real win came from rethinking how Android modules register their components.

Recent from Strava

Related Articles