Session

A New Era of Testing

JUnit 5 is the latest iteration of the popular unit testing framework and has been around for seven years. However, adoption in the Android ecosystem has historically been somewhat slow: Even the most recent additions to the testing infrastructure in AndroidX are tied very closely to JUnit 4 as their underlying backbone. This makes it difficult to benefit from many of the great features introduced with JUnit 5. Luckily, the community has been hard at work to provide what Google does not.

This talk presents the current state of the art for testing Android applications with JUnit 5 in 2024. We will take a look at the improvements to Android testing by utilizing parameterized tests, parallel test execution, test composition and many more features. Listeners will witness how instrumentation tests of Jetpack Compose code can be executed on real hardware, and how JUnit 5 integrates seamlessly with other prominent libraries from the community. Rumor has it that there may even be an update to the Robolectric situation on the horizon...

Marcel Schnelle

I create software and weird music.

Tokyo, Japan

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.