Enhancing Robolectric for Comprehensive Dynamic Feature Module and AAB Testing Support
- Mentors
- Michael Hoisie, Junyi Wang
- Organization
- Robolectric
- Technologies
- android, java, jvm, asm
- Topics
- testing, mobile
With Google Play's adoption of the AAB format as the standard publishing format, optimizing app delivery has become more efficient, allowing apps to only download the code and resources needed for a user's specific device configuration. Dynamic feature modules further enhance this by enabling on-demand feature downloads. However, this advanced modularization introduces complexities in local testing environments, particularly with tools like Robolectric that are critical for unit testing Android applications.
This project aims to extend Robolectric's testing capabilities to fully support dynamic feature modules and the AAB publishing format, addressing the current limitations in activity launching, resource loading, and environment setup for testing apps that utilize dynamic feature delivery and on-demand feature modules.