~/talk

Mocking without reflection for Kotlin/Multiplatform

Talkat FOSDEM 2022 · on Sunday, 2022-02-06· at 14:10· D.kotlin· [kotlin]

Shows how to replace runtime reflection for mocking in Kotlin/Multiplatform by using KSP (Kotlin Symbol Processor) to generate mocks at compile time. Covers the design and limitations of the MocKMP generator and its runtime across multiplatform targets, the DSL for describing and verifying mocks, and how to package the KSP plugin, mock generator and runtime into a custom Gradle plugin for easy use.

AI-written summary · about

~/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.