Excuse Me, Sir, Do You Have a Moment to Talk About Tests in Kotlin?
summary
Presents migrating Java Selenium tests to Kotlin to reduce maintenance and runtime errors by using Kotlin features—null-safety, extension functions, and data classes—while remaining Java-compatible. Demonstrates a Gradle/JUnit4/Selenium (html‑elements)/Allure/Docker/TeamCity web-test project with tests rewritten in Kotlin (showing ~8.5% smaller tests and ~32% smaller project), includes concrete code snippets (smart casts, safe-call idioms) and a runnable repository to prove toolchain compatibility.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:50What is Kotlin
- 8:28Java test issues solved
- 13:44Data classes in Kotlin
- 17:13Simpler Kotlin tests
- 22:30Kotlin syntax improvements
- 25:42Null safety in Kotlin
- 29:56Kotlin test demo
- 34:56Kotlin learning resources
- 35:17Q&A








