Robolectric

Fast unit testing runtime for Android

Technologies
android, java, jvm, asm
Topics
testing, mobile
Fast unit testing runtime for Android
Robolectric is a unit testing framework for Android. With Robolectric, your tests run in a simulated Android environment inside a JVM, without the overhead and flakiness of an emulator. Robolectric also offers a rich set of testing APIs that are not available in the Android framework.
2024 Program

Successful Projects

Contributor
shashankkumar7
Mentor
Michael Hoisie, Junyi Wang
Organization
Robolectric
Enhancing Robolectric for Comprehensive Dynamic Feature Module and AAB Testing Support
With Google Play's adoption of the AAB format as the standard publishing format, optimizing app delivery has become more efficient, allowing apps to...
Contributor
Wenyi Shi
Mentor
Michael Hoisie
Organization
Robolectric
GSoC2024 - Replacing looseSignatures - Project proposal
Robolectric is a unit testing framework for Android, which supports running Android tests in JVM instead of physical device or emulator. Robolectric...
Contributor
DevashishBasu
Mentor
Michael Hoisie, Junyi Wang
Organization
Robolectric
Enhancing Robolectric for Improved Testing with Better Activity Contexts
This project aims to address a critical gap in Robolectric's testing framework related to Activity context handling. Currently, Robolectric utilizes...