Dream11 Jun 23, 2023

Unleashing Efficiency: The Power of Mobile App Automation at Dream11

Article Summary

Dream11 cut regression testing from multiple days to just one hour. Here's how they rebuilt their entire mobile automation framework from scratch.

The world's largest fantasy sports platform serves millions of users across Android and iOS devices. Their engineering team shares how they solved the scaling nightmare of testing a React Native and native app with massive daily code commits.

Key Takeaways

Critical Insight

By mocking their edge service and building custom infrastructure, Dream11 slashed regression time by 95% while reaching near-complete test coverage.

Their approach to handling experiments and feature flags during automated testing is particularly clever and worth the read.

About This Article

Problem

Dream11's regression testing was slow. Developers from every team had to run comprehensive tests over multiple days, and testing even a single platform's subset of cases took about a day. This created bottlenecks in getting critical feedback.

Solution

Dream11 set up server mocking to remove dependencies on edge services. They built their own service execution infrastructure with dedicated hosts and parallel emulators for each team. This replaced the expensive third-party cloud services they'd been using.

Impact

Testing time dropped from days down to one hour. The framework also automated nearly all of their high and medium-priority test cases across Android and iOS, eliminating most manual work.