Kotlin + Design Patterns * UI Tests = Happiness
summary
The talk explains how to make UI tests more maintainable by applying design patterns (including Screen Robots and the Builder pattern) together with Kotlin. It walks through several design patterns and step-by-step examples of applying them within a project to produce cleaner, more maintainable test code.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 2:40Repetitive tests problem
- 4:08Robot pattern for UI tests
- 7:38Builder pattern in tests
- 10:11Chaining actions with Robot
- 12:19Factory pattern for simplicity
- 14:06Kotlin extension functions
- 17:32Clean code benefits
- 18:58Debugging with robots
- 20:08Logic over tools
- 21:14Q&A
related talks
48mDesign patterns to boost your test automation
31mDesign Patterns with Kotlin
36mBest Practices for Unit Testing in Kotlin
44mEfficient testing UI Android apps by example
37mLeveraging Kotlin to write maintainable UI tests
36mKotlinCraft: Building Resilient, Testable, and Scalable Applications in the Modern Era
41mTesting in Kotlin: The Holy Grail of Readability and Power
29mTesting in Practice: Keeping Your Tests Concise and Declarative
