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.
Summary
- Dates 2024.09.13 / 15:20 ~ 16:00 (40min)
- Place Iguana
- Language English (Japanese interpretation available)
Intended audience
Listeners are only expected to know the basics of how to write a test and when to choose which type of test for an Android project. While this talk covers several libraries related to testing, the audience is not expected to have in-depth knowledge of tools like Espresso, Robolectric, Roborazzi or Compose Testing, as the necessary fundamentals will be explained along the way.
Sessions in the same time slot
Learn by using CustomLayout vs DailyScheduler
Saiki Iijima
#Jetpack Compose
Android client implementation that brings out the best of GraphQL
Kurumi Morimoto
#App Architecture
RAG (Retrieval Augmented Generation) with Mobile Application
DREAMWALKER
#Cross-platform Development