No More Writing Test Code: Automated Design and Generation of Asynchronous Tests Delegated to JetBrains AI Assistant

Designing and writing unit tests that involve asynchronous operations is one of the most tedious and person-dependent tasks in Android development. In this session, we examine whether leveraging JetBrains AI Assistant—delegating everything from test-case ideation, mock injection, and test implementation generation to improvement suggestions—can accelerate development, boost test coverage, and ensure code consistency. Our focus is persistence handled by Room and asynchronous background processing with WorkManager. Engineers provide only the specifications and goals; the AI takes charge of test intent, assumptions, data design, and assertion design. Can an AI move beyond being a mere “assistant” to become an “autonomous test designer”? We will answer this through live demonstrations and an honest review of what goes wrong. Outline 1. Challenges in writing tests 2. Concept and setup of JetBrains AI Assistant 3. Practice ①: Delegating Room DAO tests to the AI 4. Practice ②: Delegating WorkManager test design to the AI 5. Limitations of AI-driven design and work-arounds 6. Future possibilities for autonomous development assistance (Translated by the DroidKaigi Committee)

  • makun pixiv inc.


Summary

  • Dates 2025.09.12 / 12:20 ~ 13:00 (40min)
  • Place Ladybug
  • Language Japanese (English interpretation available)

Intended audience

- Android engineers who struggle with testing in the Jetpack architecture - Modern developers looking to delegate test strategy and design to AI - Anyone interested in AI-driven development with JetBrains products

Android is a trademark of Google LLC. The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. Android, Google Play and the Google Play logo are trademarks of Google LLC.

© 2014- DroidKaigi Committee