~/talk

Property‑Based UI Testing: Catching Edge Cases with Property Definitions Generated by LLMs

TalkinJapaneseat DroidKaigi 2025 · 2025-09-10..09-12· [testing, ai-assisted-development]
links:none on file
slides:none on file

Explains applying property-based testing (PBT) to Android UI testing with Jetpack Compose by defining invariant “properties” for ViewModel logic and UI components and using Kotlin PBT tools (Kotest / jqwik). Covers how to find and write UI properties, managing specs in Markdown/YAML, using LLMs to generate property definitions, practical limits of PBT for UI, and debugging strategies when PBT finds failures.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04UI testing challenges
  3. 3:31Property-based testing basics
  4. 6:44Complementary testing approaches
  5. 8:52Motivation for PBT in UI
  6. 9:56Test setup and framework
  7. 11:22Stateless PBT in UI
  8. 15:00Writing and running PBT
  9. 18:55Property patterns and effectiveness
  10. 19:39Case study: Timer PBT
  11. 24:12Validating product and property correctness
  12. 25:40Stateful PBT concepts
  13. 27:49Stateful PBT implementation
  14. 30:18Command generation and UI checks
  15. 33:52Stateful PBT pros and cons
  16. 35:38LLM-assisted PBT
  17. 37:26LLM for property generation
  18. 38:49Debugging with shrinking
  19. 39:30Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.