~/talk

Multiplatform Testing in Kotlin

Talkat Kotlin/Everywhere Chicago 2019 · on Friday, 2019-08-23· [kotlin, testing]
links:none on file
slides:none on file

KotlinTest 4.0 brings a single framework to compile common tests into both JVM bytecode and JavaScript artifacts, running Gradle’s test tasks per target and compiling one common source file into two runtime tests. Examples show platform-specific implementations for validateEmail and validateSSN, coroutines handled via JS promises so suspend function support works on both targets, property tests run default 1000 runs with random Unicode and edge cases, and the library exposes 200 assertions plus data-driven and collection inspectors.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Multiplatform Kotlin
  3. 1:36Why multiplatform?
  4. 2:50Multiplatform: Gradle Build
  5. 3:39Multiplatform Testing: Kotin Dot Test Library
  6. 4:48Multiplatform Testing: Gradle Support
  7. 5:25KotlinTest to the Rescue
  8. 8:05Validation Project: Javascript Implementation
  9. 8:18Validation Project: JVM Implementation
  10. 8:44Validation Project: Tests
  11. 9:31Validation Project: Gradle Output
  12. 10:07Validation Project: Failed Output
  13. 10:29Property Testing
  14. 12:11Coroutine Testing
  15. 13:27Questions?
~/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.