Headspace Mar 3, 2020

Our Android testing process

Article Summary

Headspace went from <20% test coverage to 80%+ during a complete app rewrite. Here's how they built a testing strategy that actually works.

The Headspace Android team shares their journey from minimal testing to a robust, multi-layered testing strategy. They detail how they balance speed with confidence using unit tests, integration tests, and E2E tests across 4,600+ test cases.

Key Takeaways

Critical Insight

By tiering tests strategically and investing in tooling (Report Portal, Flank, MockWebServer), Headspace catches critical bugs pre-release without slowing down PRs.

Their approach to handling test flakiness and the custom reporting solution they built might change how you think about mobile CI/CD.

Related Articles