~/talk

Kotlin for Test Automation

Talkat TestFlix 2022 · 2022-10-08..10-09· [testing, kotlin]
links:none on file
slides:none on file

Shows concrete refactors: a Java POJO becomes a Kotlin data class that auto-generates equals/hashCode and makes API request/response models concise; IntelliJ Java-to-Kotlin converter and sample GitHub repo are used; default parameters and extension functions replace overloads and wrappers; inner functions and recursion extract text from a nested element tree and sealed classes remove the final else branch; example code runs in IntelliJ, assertions pass, and Java interop remains intact.

AI-written summary · about

  1. 0:00Introduction to Kotlin for Test Automation
  2. 1:45Data classes in Kotlin
  3. 3:32Functions as first-class citizens
  4. 8:07Extension functions in Kotlin
  5. 9:53Working with element trees
  6. 14:11Sealed classes and simplification
  7. 14:55Conclusion and resources
~/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.